]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix the fixing fixes
authorRudolf Polzer <divverent@xonotic.org>
Tue, 20 Aug 2013 16:08:45 +0000 (18:08 +0200)
committerRudolf Polzer <divverent@xonotic.org>
Tue, 20 Aug 2013 16:08:45 +0000 (18:08 +0200)
vid_wgl.c

index bccacc1100eace7f79a808501631e4a9cfd7887c..dca2ca9034f4646a37c2b42a0a14ae241c104e5e 100644 (file)
--- 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)
                {