rnd-20001204-3-src
[rocksndiamonds.git] / src / init.c
index 8d9571c9a88834006fc2934aac026245de8c6f97..d83b754235cc37dce7569864cbae08d712a1bc94 100644 (file)
@@ -638,6 +638,8 @@ void LoadGfx(int pos, struct PictureFileInfo *pic)
     if (!pix[pos]->drawable)
       Error(ERR_EXIT, "cannot get graphics for '%s'", pic->picture_filename);
 
+    pix[pos]->gc = window->gc;
+
 #if 0
     /* setting pix_masked[] to pix[] allows BlitBitmapMasked() to always
        use pix_masked[], although they are the same when not using SDL */