kc3-lang/SDL/src/video/mir/SDL_mirwindow.c

Branch :


Log

Author Commit Date CI Message
d44f3922 2014-07-07 10:33:32 Fixed bug 2629 - Mac: crash when calling SDL_DestroyWindow with an active OpenGL context Alex Szpakowski Since this commit https://hg.libsdl.org/SDL/rev/59b543340d63 , calling SDL_DestroyWindow will crash the program if the window has an active OpenGL context. This is because the Cocoa_DestroyWindow code sets the window's driverdata to NULL and then calls [context setWindow:NULL], which tries to access the window's driverdata, resulting in a null pointer dereference. I have attached a patch which fixes the issue by moving the line which sets the driverdata to NULL to after the lines which call functions that use the driverdata pointer.
b6148092 2014-05-06 15:08:43 eglGetProcAddress fails the same way on MIR as ANDROID does on arm. Thanks Sylvain Becker for the patch!
44a0f1d9 2014-05-02 12:33:19 Fix software rendering in the mir backend. The window assumed hardware buffer, which caused testdrawchessboard to fail to mmap a buffer.
3dcb451f 2014-04-09 21:29:19 Added a README file regarding WinRT support To note, this file is currently formatted with CRLF line endings, rather than LF, to allow the file to be viewed with Notepad.
89fd0faf 2014-02-03 11:52:54 Hooked up dynamic loading for Mir.
69d85ff5 2014-02-03 11:01:32 Bumped copyright date on Mir code.
8674b7ae 2014-02-02 23:54:10 Cleaned up headers and footers on Mir code.
6bc29770 2014-02-02 23:53:48 Added some SysWM bits for Mir.
19f8c622 2014-02-02 23:41:46 Added Mir video target (thanks, Brandon!).