aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorPaweł Kołodziejski2009-02-16 07:17:36 +0000
committerPaweł Kołodziejski2009-02-16 07:17:36 +0000
commit2a7d22702cce12f3d0ab04b6f0d1c187346c72f3 (patch)
treea9649ec1efbb8055ca014a881e967514bbb5f16a /engines/sci/engine
parent36d74955775ca5f57b73d028ae3d5d191cb2514e (diff)
downloadscummvm-rg350-2a7d22702cce12f3d0ab04b6f0d1c187346c72f3.tar.gz
scummvm-rg350-2a7d22702cce12f3d0ab04b6f0d1c187346c72f3.tar.bz2
scummvm-rg350-2a7d22702cce12f3d0ab04b6f0d1c187346c72f3.zip
initialize palette buffers (compiler warning)
svn-id: r38351
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/game.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/game.cpp b/engines/sci/engine/game.cpp
index ff0e0db24b..72f771951f 100644
--- a/engines/sci/engine/game.cpp
+++ b/engines/sci/engine/game.cpp
@@ -213,6 +213,8 @@ _reset_graphics_input(state_t *s) {
// This bit sets the foreground and background colors in VGA SCI games
gfx_color_t fgcolor;
gfx_color_t bgcolor;
+ memset(&fgcolor, 0, sizeof(gfx_color_t));
+ memset(&bgcolor, 0, sizeof(gfx_color_t));
#if 0
fgcolor.visual = s->gfx_state->resstate->static_palette[0];