summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/windows/gldirect/dglpf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/windows/gldirect/dglpf.c')
-rw-r--r--src/mesa/drivers/windows/gldirect/dglpf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/windows/gldirect/dglpf.c b/src/mesa/drivers/windows/gldirect/dglpf.c
index 65e389d7a7..4cd4d0334a 100644
--- a/src/mesa/drivers/windows/gldirect/dglpf.c
+++ b/src/mesa/drivers/windows/gldirect/dglpf.c
@@ -270,12 +270,12 @@ void dglBuildPixelFormatList()
int i;
char buf[128];
char cat[8];
- HRESULT hRes;
DGL_pixelFormat *lpPF;
#ifdef _USE_GLD3_WGL
_gldDriver.BuildPixelformatList();
#else
+ HRESULT hRes;
IDirectDraw *lpDD1 = NULL;
IDirectDraw4 *lpDD4 = NULL;
IDirect3D3 *lpD3D3 = NULL;