diff options
author | Shane Volpe <shanevolpe@gmail.com> | 2007-03-01 12:34:46 +0000 |
---|---|---|
committer | Shane Volpe <shanevolpe@gmail.com> | 2007-03-01 12:34:46 +0000 |
commit | 6abf4791d956416bec1ea50d47ad5ffa1bf691d3 (patch) | |
tree | 9e7c5c3fd46c7993f0262a4322fedbc432755eb6 /packages/libsdl/files/directfb_obsolete_calls.patch | |
parent | eaacd5fc473f5426ceef52428e9f0a56dfb05e42 (diff) |
libsdl-directfb r1: Add SDL DirectFB Version
Diffstat (limited to 'packages/libsdl/files/directfb_obsolete_calls.patch')
-rw-r--r-- | packages/libsdl/files/directfb_obsolete_calls.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/libsdl/files/directfb_obsolete_calls.patch b/packages/libsdl/files/directfb_obsolete_calls.patch new file mode 100644 index 0000000000..f3f422cde3 --- /dev/null +++ b/packages/libsdl/files/directfb_obsolete_calls.patch @@ -0,0 +1,33 @@ +--- tmp/work/armv5te-angstrom-linux-gnueabi/libsdl-directfb-1.2.9-r1/SDL-1.2.9/src/video/directfb/SDL_DirectFB_video.c 2007-02-18 11:40:38.000000000 -0500 ++++ SDL/src/video/directfb/SDL_DirectFB_video.c 2007-02-18 11:00:07.000000000 -0500 +@@ -376,7 +376,7 @@ + { + int i; + DFBResult ret; +- DFBCardCapabilities caps; ++ DFBGraphicsDeviceDescription caps; + DFBDisplayLayerConfig dlc; + struct DirectFBEnumRect *rect; + IDirectFB *dfb = NULL; +@@ -448,7 +448,7 @@ + + + /* Query card capabilities to get the video memory size */ +- dfb->GetCardCapabilities (dfb, &caps); ++ dfb->GetDeviceDescription (dfb, &caps); + + this->info.wm_available = 1; + this->info.hw_available = 1; +diff -u'rNF^function' tmp/work/armv5te-angstrom-linux-gnueabi/libsdl-directfb-1.2.9-r1/SDL-1.2.9/src/video/directfb/SDL_Direct +/SDL_DirectFB_events.c +--- tmp/work/armv5te-angstrom-linux-gnueabi/libsdl-directfb-1.2.9-r1/SDL-1.2.9/src/video/directfb/SDL_DirectFB_events.c 2004-0 ++++ SDL/src/video/directfb/SDL_DirectFB_events.c 2007-02-18 11:00:07.000000000 -0500 +@@ -161,7 +161,7 @@ + keymap[DIKI_SHIFT_L - DIKI_UNKNOWN] = SDLK_LSHIFT; + keymap[DIKI_SHIFT_R - DIKI_UNKNOWN] = SDLK_RSHIFT; + keymap[DIKI_ALT_L - DIKI_UNKNOWN] = SDLK_LALT; +- keymap[DIKI_ALTGR - DIKI_UNKNOWN] = SDLK_RALT; ++ keymap[DIKI_ALT_R - DIKI_UNKNOWN] = SDLK_RALT; + keymap[DIKI_TAB - DIKI_UNKNOWN] = SDLK_TAB; + keymap[DIKI_ENTER - DIKI_UNKNOWN] = SDLK_RETURN; + keymap[DIKI_SPACE - DIKI_UNKNOWN] = SDLK_SPACE; |