Fix expose handling.
authorTimo Korvola <tkorvola@iki.fi>
Mon, 2 Apr 2018 08:52:16 +0000 (11:52 +0300)
committerTimo Korvola <tkorvola@iki.fi>
Mon, 2 Apr 2018 08:52:16 +0000 (11:52 +0300)
commit94f4b1f36149e6cabbbfa6e9a82ca2df2505eb39
tree798cc014bfb3cc79784dfc80b51113dd0cbcdc69
parentc5f1fdc0ab70941878f35ec05b7732f5e9b10796
Fix expose handling.

It is not enough to just call SDL_RenderPresent.  The frame must be
rendered first, i.e., copied from texture.  This fixes fullscreen
toggling as well.
src/sdl/sf_video.c