sdl2_frt/src/video/cocoa
Sam Lantinga 1c0c90323c Fixed bug 3976 - SDL drivers may leak driverdata memory due to ignoring return value of SDL_AddDisplayMode
C Snover

SDL_AddDisplayMode returns an SDL_bool corresponding to whether or not the given display mode was added or not. It will return SDL_FALSE if a matching display mode already exists in the display's list of display modes, which causes ownership of the mode driverdata to remain with the caller. Some video drivers ignore the return value of SDL_AddDisplayMode, so leak the driverdata memory when SDL_AddDisplayMode returns SDL_FALSE.
2017-11-21 21:30:47 -08:00
..
SDL_cocoaclipboard.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoaclipboard.m Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_cocoaevents.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoaevents.m macOS: Fix an OS-generated warning printed to stdout on launch in bundled apps. 2017-11-09 22:24:09 -04:00
SDL_cocoakeyboard.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoakeyboard.m Fixed bug 3874 - Compiler warnings SDL_Surface.c and SDL_cocoakeyboard.m 2017-10-12 08:41:11 -07:00
SDL_cocoamessagebox.h Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_cocoamessagebox.m macOS: Address more compiler warnings when building with a recent deployment target. 2017-07-13 23:09:37 -03:00
SDL_cocoametalview.h Fixed Vulkan configure check for Android and added one for Mac OS X 2017-08-28 22:36:45 -07:00
SDL_cocoametalview.m macOS: remove unneeded #includes. 2017-09-21 14:01:12 +09:00
SDL_cocoamodes.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoamodes.m Fixed bug 3976 - SDL drivers may leak driverdata memory due to ignoring return value of SDL_AddDisplayMode 2017-11-21 21:30:47 -08:00
SDL_cocoamouse.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoamouse.m Fixed bug 2293 - Precise scrolling events 2017-08-14 21:28:04 -07:00
SDL_cocoamousetap.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoamousetap.m Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_cocoaopengl.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoaopengl.m Updated copyright for 2017 2017-01-01 18:33:28 -08:00
SDL_cocoashape.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoashape.m macOS: Replace uses of deprecated Cocoa enum names with modern/consistent equivalents. 2017-07-13 22:59:02 -03:00
SDL_cocoavideo.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoavideo.m Fixed mingw Windows build, since SDL_vulkan_internal.h includes windows.h 2017-08-28 00:43:14 -07:00
SDL_cocoavulkan.h Code style cleanup in the Cocoa and UIKit vulkan files. 2017-08-31 21:26:13 -03:00
SDL_cocoavulkan.m Code style cleanup in the Cocoa and UIKit vulkan files. 2017-08-31 21:26:13 -03:00
SDL_cocoawindow.h Renaming of guard header names to quiet -Wreserved-id-macro 2017-08-28 00:22:23 -07:00
SDL_cocoawindow.m cocoa: Don't change the NSWindow background color. 2017-10-25 18:02:11 -04:00