X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Finit.c;h=17a1cbdbf3d4a2224e0886cbfd72c2c40e06bbd7;hb=4337ea074a6962a576fc0e44d61d48ebc76fa6ae;hp=dbe878cd7063942f299061ba83186f00eb3b10d5;hpb=c9821c49e08e02532f3ff812ebf8f64230aea7ea;p=rocksndiamonds.git diff --git a/src/init.c b/src/init.c index dbe878cd..17a1cbdb 100644 --- a/src/init.c +++ b/src/init.c @@ -341,7 +341,7 @@ void InitGfx() }; #endif -#ifdef TARGET_X11 +#if defined(TARGET_X11_NATIVE) static struct { int start; @@ -433,7 +433,16 @@ void InitGfx() InitFontInfo(pix[PIX_BIGFONT], pix[PIX_MEDIUMFONT], pix[PIX_SMALLFONT]); + /* initialize pixmap array for special X11 tile clipping to Pixmap 'None' */ + for(i=0; i=0; i++) { @@ -485,6 +491,7 @@ void InitGfx() src_x, src_y, TILEX, TILEY, 0, 0); } } +#endif /* TARGET_X11_ANTIVE */ #endif /* TARGET_X11 */ }