summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/wgl
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-11-10 14:34:51 -0700
committerBrian Paul <[email protected]>2015-11-12 11:21:25 -0700
commitf71508ae793aaea999d3aa5bdd5f4cf157f016c6 (patch)
tree32af4d27a9f5cb1179382d7f047d13dcd776da6b /src/gallium/state_trackers/wgl
parentfce68832c5e06a046b69fbad1e1424aaec6fc0b2 (diff)
st/wgl: include u_debug.h
To get declaration for debug_printf() directly instead of getting it indirectly through os_thread.h Reviewed-by: Sinclair Yeh <[email protected]> Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/wgl')
-rw-r--r--src/gallium/state_trackers/wgl/stw_ext_context.c2
-rw-r--r--src/gallium/state_trackers/wgl/stw_ext_pbuffer.c2
-rw-r--r--src/gallium/state_trackers/wgl/stw_getprocaddress.c2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/wgl/stw_ext_context.c b/src/gallium/state_trackers/wgl/stw_ext_context.c
index 6af20627398..4c58316a0e1 100644
--- a/src/gallium/state_trackers/wgl/stw_ext_context.c
+++ b/src/gallium/state_trackers/wgl/stw_ext_context.c
@@ -35,6 +35,8 @@
#include "stw_device.h"
#include "stw_ext_context.h"
+#include "util/u_debug.h"
+
wglCreateContext_t wglCreateContext_func = 0;
wglDeleteContext_t wglDeleteContext_func = 0;
diff --git a/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c b/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
index 0bd60c064d7..e7887b6ac0c 100644
--- a/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
+++ b/src/gallium/state_trackers/wgl/stw_ext_pbuffer.c
@@ -35,6 +35,8 @@
#include "pipe/p_defines.h"
#include "pipe/p_screen.h"
+#include "util/u_debug.h"
+
#include "stw_device.h"
#include "stw_pixelformat.h"
#include "stw_framebuffer.h"
diff --git a/src/gallium/state_trackers/wgl/stw_getprocaddress.c b/src/gallium/state_trackers/wgl/stw_getprocaddress.c
index 33949b6606f..28d10d2e312 100644
--- a/src/gallium/state_trackers/wgl/stw_getprocaddress.c
+++ b/src/gallium/state_trackers/wgl/stw_getprocaddress.c
@@ -37,6 +37,8 @@
#include "stw_icd.h"
#include "stw_nopfuncs.h"
+#include "util/u_debug.h"
+
struct stw_extension_entry
{
const char *name;