st/wgl: Include main/core.h.
authorChia-I Wu <olv@lunarg.com>
Mon, 23 Aug 2010 09:31:27 +0000 (17:31 +0800)
committerChia-I Wu <olv@lunarg.com>
Tue, 24 Aug 2010 03:36:48 +0000 (11:36 +0800)
Make st/wgl include only main/core.h from core mesa.

src/gallium/state_trackers/wgl/stw_context.c
src/gallium/state_trackers/wgl/stw_device.c
src/gallium/state_trackers/wgl/stw_pixelformat.c
src/gallium/state_trackers/wgl/stw_pixelformat.h

index 0fb7cd83069254950343fc505f1f2c83bba33932..a0e14b96016c7c9af67986dc66faa8d45fb5da4e 100644 (file)
@@ -33,7 +33,7 @@
 
 /* for _mesa_share_state */
 #include "state_tracker/st_context.h"
-#include "main/context.h"
+#include "main/core.h"
 
 #include "stw_icd.h"
 #include "stw_device.h"
index a107c71bdab0c2be1646502bbe6c480e845f8385..37809d084ce4c4ee4c826416c26b1aecdde58b0c 100644 (file)
@@ -27,7 +27,7 @@
 
 #include <windows.h>
 
-#include "glapi/glthread.h"
+#include "glapi/glapi.h"
 #include "util/u_debug.h"
 #include "util/u_math.h"
 #include "util/u_memory.h"
index e606477e975fb6d02c698273a1a4ec89ea3f4dd0..18ac48236965ad00de6f5cb7f3aea9dda44d2070 100644 (file)
  * 
  **************************************************************************/
 
-#include "main/mtypes.h"
-#include "main/context.h"
-
 #include "pipe/p_format.h"
 #include "pipe/p_defines.h"
 #include "pipe/p_screen.h"
 
 #include "util/u_format.h"
 #include "util/u_debug.h"
+#include "util/u_memory.h"
 
 #include "stw_icd.h"
 #include "stw_device.h"
index d405172773c592a92b6f50a1802f92c555916476..282c9f643c28899b890accc7a685da8c548a80dc 100644 (file)
@@ -34,8 +34,6 @@
 #define PFD_SUPPORT_COMPOSITION 0x00008000
 #endif
 
-#include "main/mtypes.h"
-
 #include "pipe/p_compiler.h"
 #include "pipe/p_format.h"
 #include "state_tracker/st_api.h"