This repository has been archived by the owner. It is now read-only.
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
3 additions
and
4 deletions.
-
+1
−1
src/events/SDL_keyboard.c
-
+0
−3
src/video/SDL_video.c
-
+2
−0
src/video/SDL_yuv_sw.c
|
@@ -443,7 +443,7 @@ SDL_GetKeyName(SDLKey key) |
|
|
{ |
|
|
const char *keyname; |
|
|
|
|
|
if (key < SDL_tablesize(SDL_keynames)) { |
|
|
if (key < SDL_arraysize(SDL_keynames)) { |
|
|
keyname = SDL_keynames[key]; |
|
|
} else { |
|
|
keyname = NULL; |
|
|
|
@@ -1574,9 +1574,6 @@ SDL_VideoQuit(void) |
|
|
/* 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]; |
|
|
|
@@ -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_FreeYUV_SW(_THIS, SDL_Overlay * overlay) |
|
|
SDL_free(swdata); |
|
|
} |
|
|
} |
|
|
#endif /* TODO */ |
|
|
|
|
|
/* vi: set ts=4 sw=4 expandtab: */ |
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.