summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/wgl/stw_wgl_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/wgl/stw_wgl_context.c')
-rw-r--r--src/mesa/state_tracker/wgl/stw_wgl_context.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/state_tracker/wgl/stw_wgl_context.c b/src/mesa/state_tracker/wgl/stw_wgl_context.c
index 59b47200be..0c13c6b68a 100644
--- a/src/mesa/state_tracker/wgl/stw_wgl_context.c
+++ b/src/mesa/state_tracker/wgl/stw_wgl_context.c
@@ -25,8 +25,6 @@
*
**************************************************************************/
-#define _GDI32_
-
#include <windows.h>
#include "main/mtypes.h"
@@ -41,7 +39,7 @@
#include "stw_pixelformat.h"
#include "stw_wgl_arbmultisample.h"
#include "stw_wgl_context.h"
-#include "stw_wgl_pixelformat.h"
+#include "stw_wgl.h"
static struct wgl_context *ctx_head = NULL;
@@ -107,7 +105,7 @@ wglCreateContext(
return NULL;
}
- pipe = stw_winsys.create_context( stw_dev->screen );
+ pipe = stw_dev->stw_winsys->create_context( stw_dev->screen );
if (!pipe) {
_mesa_destroy_visual( visual );
FREE( ctx );