X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Finit.c;h=d83b754235cc37dce7569864cbae08d712a1bc94;hp=8d9571c9a88834006fc2934aac026245de8c6f97;hb=998be01ad92a672b69b11e24d472f6c0c076817f;hpb=3d07b68a314ce189f207e42d95f786979662410d diff --git a/src/init.c b/src/init.c index 8d9571c9..d83b7542 100644 --- a/src/init.c +++ b/src/init.c @@ -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 */