projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed (reactivated) global animations (toons) for SDL 1.2 target
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index 26691223ade3e4142d0c40ebfc2551b80f6c91f1..8df809cd787ba19cdc91041866a11d432c397597 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-208,8
+208,10
@@
void InitGfxWindowInfo(int win_xsize, int win_ysize)
ReCreateBitmap(&gfx.background_bitmap, win_xsize, win_ysize, DEFAULT_DEPTH);
ReCreateBitmap(&gfx.background_bitmap, win_xsize, win_ysize, DEFAULT_DEPTH);
+#if defined(TARGET_SDL2)
#if USE_FINAL_SCREEN_BITMAP
ReCreateBitmap(&gfx.final_screen_bitmap, win_xsize, win_ysize, DEFAULT_DEPTH);
#if USE_FINAL_SCREEN_BITMAP
ReCreateBitmap(&gfx.final_screen_bitmap, win_xsize, win_ysize, DEFAULT_DEPTH);
+#endif
#endif
ReCreateBitmap(&gfx.fade_bitmap_source, win_xsize, win_ysize, DEFAULT_DEPTH);
#endif
ReCreateBitmap(&gfx.fade_bitmap_source, win_xsize, win_ysize, DEFAULT_DEPTH);