mirror of
https://github.com/encounter/SDL.git
synced 2025-05-31 03:31:25 +00:00
Cocoa_GetWindowDisplayIndex
As discussed in PR review, there may be an off-chance that the index returned doesn't match up with SDL's display indexing. This change ensures that the indices match and adds a safety check for off-screen windows.
Simple DirectMedia Layer (SDL) Version 2.0
Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. It is used by video playback software, emulators, and popular games including Valve's award winning catalog and many Humble Bundle games.
More extensive documentation is available in the docs directory, starting with README.md
Enjoy!
Sam Lantinga (slouken@libsdl.org)
Description
Languages
C
56.9%
C++
36.4%
Objective-C
2.3%
Shell
1.3%
M4
1%
Other
2%