ioef/code/sdl
Zack Middleton 1d016e6ff5 Clear window buffer when it's created
When starting the game in windowed mode, the window buffer used whatever
was on the screen before running the game. Kind of like you could see
through the window, but it doesn't update what happens behind it.

It makes it look like something is broken or non-responsive.

So clear the window opengl buffer to black.

Credit to theinvsblman for the code.
2014-11-07 21:50:00 -06:00
..
sdl_gamma.c Merge branch 'master' into sdl2 2013-05-08 14:27:15 +01:00
sdl_glimp.c Clear window buffer when it's created 2014-11-07 21:50:00 -06:00
sdl_icon.h Reverting. 2008-07-06 17:16:14 +00:00
sdl_input.c Fix Windows key bind name on non-Mac using SDL2 2014-09-11 20:04:28 -05:00
sdl_snd.c Use SDL 2 instead of SDL 1.2 2013-01-17 18:20:03 +00:00