More compile fixes SDL-1.3
authorSam Lantinga <slouken@libsdl.org>
Wed, 14 Jun 2006 06:26:35 +0000
branchSDL-1.3
changeset 1679 153477a6cc31
parent 1678 90bf530ced8e
child 1680 9488fca10677
More compile fixes
src/events/SDL_keyboard.c
src/video/SDL_video.c
src/video/SDL_yuv_sw.c
--- a/src/events/SDL_keyboard.c	Wed Jun 14 06:14:26 2006 +0000
+++ b/src/events/SDL_keyboard.c	Wed Jun 14 06:26:35 2006 +0000
@@ -443,7 +443,7 @@
 {
     const char *keyname;
 
-    if (key < SDL_tablesize(SDL_keynames)) {
+    if (key < SDL_arraysize(SDL_keynames)) {
         keyname = SDL_keynames[key];
     } else {
         keyname = NULL;
--- a/src/video/SDL_video.c	Wed Jun 14 06:14:26 2006 +0000
+++ b/src/video/SDL_video.c	Wed Jun 14 06:26:35 2006 +0000
@@ -1574,9 +1574,6 @@
     /* Halt event processing before doing anything else */
     SDL_StopEventLoop();
 
-    /* Clean up allocated window manager items */
-    SDL_CursorQuit();
-
     /* Clean up the system video */
     for (i = _this->num_displays; i--;) {
         SDL_VideoDisplay *display = &_this->displays[i];
--- a/src/video/SDL_yuv_sw.c	Wed Jun 14 06:14:26 2006 +0000
+++ b/src/video/SDL_yuv_sw.c	Wed Jun 14 06:26:35 2006 +0000
@@ -21,6 +21,7 @@
 */
 #include "SDL_config.h"
 
+#if 0 /* TODO */
 /* This is the software implementation of the YUV video overlay support */
 
 /* This code was derived from code carrying the following copyright notices:
@@ -1297,5 +1298,6 @@
         SDL_free(swdata);
     }
 }
+#endif /* TODO */
 
 /* vi: set ts=4 sw=4 expandtab: */