Mesa (master): st/mesa: Include missing header in st_mesa_to_tgsi.c.

Vinson Lee vlee at kemper.freedesktop.org
Sat Aug 28 21:25:17 UTC 2010


Module: Mesa
Branch: master
Commit: 2dfd348e33f0152e3ab693ec3b53911331f5c349
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2dfd348e33f0152e3ab693ec3b53911331f5c349

Author: Vinson Lee <vlee at vmware.com>
Date:   Sat Aug 28 14:24:42 2010 -0700

st/mesa: Include missing header in st_mesa_to_tgsi.c.

Include p_screen.h for complete type to pipe_screen.

---

 src/mesa/state_tracker/st_mesa_to_tgsi.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/mesa/state_tracker/st_mesa_to_tgsi.c b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index a19dcc9..0ed822b 100644
--- a/src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/src/mesa/state_tracker/st_mesa_to_tgsi.c
@@ -32,9 +32,10 @@
  */
 
 #include "pipe/p_compiler.h"
+#include "pipe/p_context.h"
+#include "pipe/p_screen.h"
 #include "pipe/p_shader_tokens.h"
 #include "pipe/p_state.h"
-#include "pipe/p_context.h"
 #include "tgsi/tgsi_ureg.h"
 #include "st_mesa_to_tgsi.h"
 #include "st_context.h"




More information about the mesa-commit mailing list