From 3bfc3d6f595204c5e4c2051ca0a09eeb4027d4f0 Mon Sep 17 00:00:00 2001 From: divverent Date: Sun, 1 Feb 2009 08:35:49 +0000 Subject: [PATCH] fix two typos in vid_wgl code git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8689 d7cf8633-e32d-0410-b094-e92efae38249 --- vid_wgl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.39.2