st/mesa: Clean up header file inclusion in st_manager.h.
authorVinson Lee <vlee@vmware.com>
Thu, 5 Aug 2010 23:20:07 +0000 (16:20 -0700)
committerVinson Lee <vlee@vmware.com>
Thu, 5 Aug 2010 23:20:07 +0000 (16:20 -0700)
Include mtypes.h for GLcontext, gl_buffer_index, and GLframebuffer
symbols.
Include p_compiler.h for boolean symbol.
Include st_context.h in st_cb_eglimage.c as it previously included
st_context.h indirectly through st_manager.h.

src/mesa/state_tracker/st_cb_eglimage.c
src/mesa/state_tracker/st_manager.h

index 4aaf91d5a19dd6188a7ed5524f98a0b10c130696..037e576fabe229366d728195067df780e24bd51c 100644 (file)
@@ -33,6 +33,7 @@
 #include "util/u_format.h"
 #include "st_cb_eglimage.h"
 #include "st_cb_fbo.h"
+#include "st_context.h"
 #include "st_texture.h"
 #include "st_format.h"
 #include "st_manager.h"
index cd2887b1e0f4809c8db74f662057d44b66cdf213..48a9d4d99a697827e74678c754ad091549676898 100644 (file)
 #ifndef ST_MANAGER_H
 #define ST_MANAGER_H
 
-#include "state_tracker/st_api.h"
-#include "st_context.h"
+#include "main/mtypes.h"
+
+#include "pipe/p_compiler.h"
+
+struct st_context;
 
 struct pipe_surface *
 st_manager_get_egl_image_surface(struct st_context *st,