summaryrefslogtreecommitdiff
path: root/src/SDL2/include/SDL_test_assert.h
diff options
context:
space:
mode:
authorZack Middleton <zturtleman@gmail.com>2014-11-07 21:34:22 -0600
committerTim Angus <tim@ngus.net>2015-03-17 11:38:55 +0000
commite162c6334e08d3b6a9c4097b4014e7b3c922d0ff (patch)
tree9e4cd43510a040c214dbac648d1a92100bce5216 /src/SDL2/include/SDL_test_assert.h
parente79a3e9e25e998a00912b2127c4547f5d5daaa65 (diff)
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.
Diffstat (limited to 'src/SDL2/include/SDL_test_assert.h')
0 files changed, 0 insertions, 0 deletions