From: Brian Paul Date: Tue, 10 Nov 2015 21:34:51 +0000 (-0700) Subject: st/wgl: include u_debug.h X-Git-Tag: upstream/17.1.0~14698 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f71508ae793aaea999d3aa5bdd5f4cf157f016c6;p=platform%2Fupstream%2Fmesa.git 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 Reviewed-by: Charmaine Lee --- diff --git a/src/gallium/state_trackers/wgl/stw_ext_context.c b/src/gallium/state_trackers/wgl/stw_ext_context.c index 6af2062..4c58316 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 0bd60c0..e7887b6 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 33949b6..28d10d2 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;