From: divverent Date: Sun, 1 Feb 2009 08:35:49 +0000 (+0000) Subject: fix two typos in vid_wgl code X-Git-Tag: xonotic-v0.1.0preview~1905 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3bfc3d6f595204c5e4c2051ca0a09eeb4027d4f0;p=xonotic%2Fdarkplaces.git fix two typos in vid_wgl code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8689 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/vid_wgl.c b/vid_wgl.c index 752241d1..db3ec891 100644 --- 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");