]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
UNMERGE
authordivverent divverent@d7cf8633-e32d-0410-b094-e92efae38249 <>
Fri, 24 Sep 2010 11:07:27 +0000 (11:07 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 24 Sep 2010 19:59:56 +0000 (21:59 +0200)
remove two unused vars

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10486 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::unmerge=23e8d3a5f0d0e364566b87daaa59451ea59a6919

vid_wgl.c

index 7b3e095f9707caa9c019c09a039a3781c4f81f5a..7871c225a91cc7d9836d2024c9627a699146d5b4 100644 (file)
--- a/vid_wgl.c
+++ b/vid_wgl.c
@@ -1379,6 +1379,7 @@ qboolean VID_InitModeDX(viddef_mode_t *mode, int version)
        int deviceindex;
        RECT rect;
        MSG msg;
+       int pixelformat, newpixelformat;
        DWORD WindowStyle, ExWindowStyle;
        int CenterX, CenterY;
        int bpp = mode->bitsperpixel;
@@ -1432,6 +1433,8 @@ qboolean VID_InitModeDX(viddef_mode_t *mode, int version)
        rect.top += CenterY;
        rect.bottom += CenterY;
 
+       pixelformat = 0;
+       newpixelformat = 0;
        gl_extensions = "";
        gl_platformextensions = "";