summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/windows/gldirect/dglpf.c
diff options
context:
space:
mode:
authorBen Crossman <bencrossman@freedesktop.org>2005-04-14 16:58:25 +0000
committerBen Crossman <bencrossman@freedesktop.org>2005-04-14 16:58:25 +0000
commitb2b01a60dbba4ebd130898509c14ca80a847a679 (patch)
tree2e82d913496c2d9568fc15813deed2a532500158 /src/mesa/drivers/windows/gldirect/dglpf.c
parent60e2810ae45b358699e6db0ddc95e0a4c1f45338 (diff)
Some initial compile fixes. Still some left and warnings that need fixing. No where near runnable yet.
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;