From: Rudolf Polzer Date: Tue, 20 Aug 2013 16:08:45 +0000 (+0200) Subject: fix the fixing fixes X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5fe595485fad050d4dbf025b4a014aa1f843171e;p=xonotic%2Fdarkplaces.git fix the fixing fixes --- diff --git a/vid_wgl.c b/vid_wgl.c index bccacc11..dca2ca90 100644 --- a/vid_wgl.c +++ b/vid_wgl.c @@ -1017,7 +1017,7 @@ qboolean VID_InitModeGL(viddef_mode_t *mode) gdevmode = initialdevmode; width = mode->width = gdevmode.dmPelsWidth; height = mode->height = gdevmode.dmPelsHeight; - bpp = mode->bpp = gdevmode.dmBitsPerPel; + bpp = mode->bitsperpixel = gdevmode.dmBitsPerPel; } else if(vid_forcerefreshrate.integer) {