made init_size in the SDL backend reentrant

svn-id: r5022
This commit is contained in:
Max Horn 2002-09-27 13:05:54 +00:00
parent 09f56dc233
commit 29f8c3af95
4 changed files with 48 additions and 26 deletions

View file

@ -141,6 +141,7 @@ void OSystem_SDL_GL::update_screen() {
_palette_changed_last = 0;
}
// FIXME - this seems to be tied to 320x200 - what about Zak256 which needs 320x240 ?
fb2gl.update(sdl_screen->pixels,320,200,320,0,_current_shake_pos);
}