Mesa (master): util: Include missing header in u_dirty_surfaces.h.

Vinson Lee vlee at kemper.freedesktop.org
Thu Aug 26 06:05:18 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Wed Aug 25 23:04:39 2010 -0700

util: Include missing header in u_dirty_surfaces.h.

Include p_state.h for pipe_surface symbol.

---

 src/gallium/auxiliary/util/u_dirty_surfaces.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/util/u_dirty_surfaces.h b/src/gallium/auxiliary/util/u_dirty_surfaces.h
index c157300..fd1bbe5 100644
--- a/src/gallium/auxiliary/util/u_dirty_surfaces.h
+++ b/src/gallium/auxiliary/util/u_dirty_surfaces.h
@@ -27,9 +27,13 @@
 #ifndef U_DIRTY_SURFACES_H_
 #define U_DIRTY_SURFACES_H_
 
+#include "pipe/p_state.h"
+
 #include "util/u_double_list.h"
 #include "util/u_math.h"
 
+struct pipe_context;
+
 typedef void (*util_dirty_surface_flush_t) (struct pipe_context *, struct pipe_surface *);
 
 struct util_dirty_surfaces




More information about the mesa-commit mailing list