Sam Lantinga 7f2068daca Fixed bug 3541 - DisplayIndex out of bounds in SDL_SetWindowPosition
Intellectual Kitty

In SDL_video.c, on line #1756, in SDL_SetWindowPosition (from today's distribution, 12-31-2016, https://hg.libsdl.org/SDL/shortlog/bf19e0c84483):

        if (displayIndex > _this->num_displays) {

should be:

        if (displayIndex >= _this->num_displays) {
2016-12-31 10:30:07 -08:00
2016-10-30 21:01:33 +01:00
2016-12-10 15:23:17 -05:00
2016-01-02 10:10:34 -08:00
2016-01-12 22:23:53 +01:00



                         Simple DirectMedia Layer



                                  (SDL)



                                Version 2.0



---

http://www.libsdl.org/



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)

S
Description
Simple DirectMedia Layer
Readme
167 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 86.4%
C++ 5.8%
Objective-C 3.4%
CMake 1.6%
Perl 0.8%
Other 1.8%