diff options
author | Max Horn | 2002-10-14 11:02:27 +0000 |
---|---|---|
committer | Max Horn | 2002-10-14 11:02:27 +0000 |
commit | e8f3f1706755f8da74afb85898c1628ca466b6a9 (patch) | |
tree | ff5393af1227c3af4304989da1fca3faac27d894 /backends/sdl/sdl_gl.cpp | |
parent | 2d18fc9e053746c78ca15561588b797e8908bde7 (diff) | |
download | scummvm-rg350-e8f3f1706755f8da74afb85898c1628ca466b6a9.tar.gz scummvm-rg350-e8f3f1706755f8da74afb85898c1628ca466b6a9.tar.bz2 scummvm-rg350-e8f3f1706755f8da74afb85898c1628ca466b6a9.zip |
renamed get_320x200_image() to get_screen_image(); cleanup
svn-id: r5145
Diffstat (limited to 'backends/sdl/sdl_gl.cpp')
-rw-r--r-- | backends/sdl/sdl_gl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/sdl/sdl_gl.cpp b/backends/sdl/sdl_gl.cpp index 67626a7ea0..2f21850e37 100644 --- a/backends/sdl/sdl_gl.cpp +++ b/backends/sdl/sdl_gl.cpp @@ -154,12 +154,13 @@ void OSystem_SDL_GL::hotswap_gfx_mode() { byte *bak_mem = (byte*)malloc(_screenWidth*_screenHeight); - get_320x200_image(bak_mem); + get_screen_image(bak_mem); unload_gfx_mode(); load_gfx_mode(); fb2gl.setPalette(0,256); + // FIXME - this seems to be tied to 320x200 - what about Zak256 which needs 320x240 ? fb2gl.update(_screen->pixels,320,200,320,0,_currentShakePos); /* blit image */ |