summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/windows/gdi
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-08-25 14:59:45 +0000
committerBrian Paul <[email protected]>2004-08-25 14:59:45 +0000
commit86e001b78cb46c1d5a216dd50b3d7fe32db23575 (patch)
tree64234fe5ec7368af1840868cb841e719b33f1689 /src/mesa/drivers/windows/gdi
parent7c544d36850c6e3627adbbd66df9b12bbe0f185b (diff)
Windows ICD driver code (patch 1014800)
Diffstat (limited to 'src/mesa/drivers/windows/gdi')
-rw-r--r--src/mesa/drivers/windows/gdi/wgl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/windows/gdi/wgl.c b/src/mesa/drivers/windows/gdi/wgl.c
index cfcf65e67b6..53850d1bdce 100644
--- a/src/mesa/drivers/windows/gdi/wgl.c
+++ b/src/mesa/drivers/windows/gdi/wgl.c
@@ -1,4 +1,4 @@
-/* $Id: wgl.c,v 1.3 2004/01/07 12:34:28 dborca Exp $ */
+/* $Id: wgl.c,v 1.4 2004/08/25 14:59:45 brianp Exp $ */
/*
* This library is free software; you can redistribute it and/or
@@ -102,7 +102,7 @@ typedef struct {
static MesaWglCtx wgl_ctx[MESAWGL_CTX_MAX_COUNT];
static unsigned ctx_count = 0;
-static unsigned ctx_current = -1;
+static int ctx_current = -1;
static unsigned curPFD = 0;
WGLAPI BOOL GLAPIENTRY wglCopyContext(HGLRC hglrcSrc,HGLRC hglrcDst,UINT mask)