kc3-lang/SDL/src/video/SDL_video.c

Branch :


Log

Author Commit Date CI Message
fae4190d 2013-09-13 17:42:46 Added SDL_Direct3D9GetAdapterIndex(), which returns the adapter index you would pass into CreateDevice to get your device on the right monitor in full screen mode. This fixes the default adapter in SDL_render_d3d.c, which means that tests will work fullscreen off the main monitor now. CR: Sam
ace1e98a 2013-08-29 15:02:32 Fixes bug #2040, prepare SDL_GL_CONTEXT_EGL for deprecation on v2.1 SDL_GL_CONTEXT_EGL = 1 is now internally treated as profile_mask = SDL_GL_CONTEXT_PROFILE_ES
e07d7e64 2013-08-29 08:30:21 Christoph Mallon: Replace strlen(x) == 0 (O(n)) by x[0] == '\0' (O(1)).
3e2930de 2013-08-29 08:29:51 Christoph Mallon: Remove pointless if (x) before SDL_FreeSurface(x)
f79fc33a 2013-08-29 08:29:21 Christoph Mallon: Remove pointless if (x) before SDL_free(x)
64e6eeac 2013-08-25 11:48:49 Fixes "error: conflicting types for 'GLintptr'"
63fe3a77 2013-08-20 19:49:24 Fixes a few non C89 compliant comments
0eeb76d8 2013-08-19 16:29:46 Fixes bug #2037, common EGL code for Android and X11
dad42067 2013-08-12 11:13:50 Fixes #2022, do not resume on Android when surfaceChanged If the app is in landscape mode and the user presses the power button, a pause is followed immediately by a surfaceChanged event because the lock screen is shown in portrait mode. This triggers a "false" resume. So, we just pause and resume following the onWindowFocusChanged events. Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before blocking the event pump.