sdl2_frt/src/video
Sam Lantinga e10a98d2ad Fixed bug 3720 - SDL_GL_GetAttribute doesn't check for initialized video driver
Simon Hug

SDL_GL_GetAttribute doesn't check if a video driver has been initialized and will access the SDL_VideoDevice pointer, which is NULL at that point.

I think all of the attributes require an initialized driver, so a simple NULL check should fix it. Patch is attached.
2017-07-31 12:57:15 -07:00
..
android Fixed bug 3703 - Missing media keys support on Amazon Fire TV remote control 2017-07-20 10:46:38 -07:00
cocoa Fixed build on older Mac OS X SDKs 2017-07-21 17:28:47 -07:00
directfb directfb: Fixed quitting keyboard twice. 2017-06-16 23:30:30 +02:00
dummy Updated copyright for 2017 2017-01-01 18:33:28 -08:00
emscripten emscripten: listen for pointerlockchange events on the #document specifically. 2017-06-05 21:30:25 -04:00
haiku haiku: Fixed compiling without OpenGL support. 2017-07-07 23:00:22 +02:00
mir [mir] Same no need to wrap this, which is already being done 2017-07-27 08:03:11 -07:00
nacl nacl: Fixed unnecessary large input text array. 2017-06-16 23:30:13 +02:00
pandora pandora: Fixed compile error. 2017-06-16 23:30:38 +02:00
psp Fixed SDL_GetWindowWMInfo() returning success on three unsupported platforms. 2017-06-15 23:30:29 +02:00
qnx Fixed compiler warnings on QNX. 2017-07-23 19:25:16 -04:00
raspberry Fixed SDL_GetWindowWMInfo() returning success on three unsupported platforms. 2017-06-15 23:30:29 +02:00
uikit iOS: Use modern replacements for deprecated functions, when available. 2017-07-15 17:41:58 -03:00
vivante Removed newlines from error messages. 2017-03-26 21:00:19 +02:00
wayland Fixed missing error messages for SDL_GetWindowWMInfo(). 2017-06-11 22:30:39 +02:00
windows Get the parent of non-SDL-created windows, for completeness 2017-06-16 11:14:08 -07:00
winrt winrt: Fixed SDL include. 2017-06-24 23:45:44 +02:00
x11 Fixed bug 3410 - SDL_WINDOW_HIDDEN flag is inaccurate. 2017-07-20 10:52:43 -07:00
SDL_blit_0.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_blit_1.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_blit_A.c Fix some more compiler warnings on armcc. 2017-03-03 16:38:17 -05:00
SDL_blit_auto.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_blit_auto.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_blit_copy.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_blit_copy.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_blit_N.c Fixed comment style. 2017-02-26 21:20:39 +01:00
SDL_blit_slow.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_blit_slow.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_blit.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_blit.h Really fixed blit issue for capehill 2017-01-07 16:51:48 -08:00
SDL_bmp.c Fix some more compiler warnings on armcc. 2017-03-03 16:38:17 -05:00
SDL_clipboard.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_egl_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_egl.c Fixed warning in Android build 2017-02-10 09:41:16 -08:00
SDL_fillrect.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_pixels_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_pixels.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_rect_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_rect.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_RLEaccel_c.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_RLEaccel.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_shape_internals.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_shape.c Fixed bug 3699 - Shaped windows are distorted unless width is divisible by 8 2017-07-11 08:16:00 -07:00
SDL_stretch.c Removed newlines from error messages. 2017-03-26 21:00:19 +02:00
SDL_surface.c Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_sysvideo.h iOS: Use modern replacements for deprecated functions, when available. 2017-07-15 17:41:58 -03:00
SDL_video.c Fixed bug 3720 - SDL_GL_GetAttribute doesn't check for initialized video driver 2017-07-31 12:57:15 -07:00
sdlgenblit.pl Updated copyright for 2017 2017-01-01 18:33:28 -08:00