]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix two typos in vid_wgl code
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 1 Feb 2009 08:35:49 +0000 (08:35 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 1 Feb 2009 08:35:49 +0000 (08:35 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8689 d7cf8633-e32d-0410-b094-e92efae38249

vid_wgl.c

index 752241d1fe47ef19935e1198e07f1d3a6b8a99de..db3ec891b14b969497fe8c3d8342e00a7c4ae89e 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -956,13 +956,13 @@ int VID_InitMode (int fullscreen, int *width, int *height, int bpp, int refreshr
                                                Con_Printf("wrong bpp\n");
                                        continue;
                                }
-                               if(thismode.dmPelsWidth != (DWORD)width)
+                               if(thismode.dmPelsWidth != (DWORD)*width)
                                {
                                        if(developer.integer >= 100)
                                                Con_Printf("wrong width\n");
                                        continue;
                                }
-                               if(thismode.dmPelsHeight != (DWORD)height)
+                               if(thismode.dmPelsHeight != (DWORD)*height)
                                {
                                        if(developer.integer >= 100)
                                                Con_Printf("wrong height\n");