SDL/src/video/cocoa
Alex Szpakowski 262e8ef3f0 Mac: Send a window resize event when the window's backing scale factor changes.
The backing scale factor can change when the window moves between retina and non-retina displays.

The only other way to detect such a change is to compare the output of SDL_GL_GetDrawableSize or SDL_GetRendererOutputSize every frame, which is less than desirable, especially since the necessary app logic is likely already being executed when a window resize event is received.
2015-05-26 21:51:47 -03:00
..
SDL_cocoaclipboard.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoaclipboard.m Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoaevents.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoaevents.m Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoakeyboard.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoakeyboard.m Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoamessagebox.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoamessagebox.m Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoamodes.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoamodes.m Cocoa: don't fail outright if we see an unknown display format. 2015-05-26 09:55:41 -04:00
SDL_cocoamouse.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoamouse.m Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoamousetap.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoamousetap.m Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoaopengl.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoaopengl.m Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoashape.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoashape.m Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoavideo.h Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoavideo.m Updated the copyright year to 2015 2015-05-26 06:27:46 -07:00
SDL_cocoawindow.h Mac: Send a window resize event when the window's backing scale factor changes. 2015-05-26 21:51:47 -03:00
SDL_cocoawindow.m Mac: Send a window resize event when the window's backing scale factor changes. 2015-05-26 21:51:47 -03:00