Mesa (master): mesa: Include missing header in st_get_mipmap.h.

Vinson Lee vlee at kemper.freedesktop.org
Thu Aug 5 08:23:59 UTC 2010


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

Author: Vinson Lee <vlee at vmware.com>
Date:   Thu Aug  5 01:23:05 2010 -0700

mesa: Include missing header in st_get_mipmap.h.

Include mtypes.h for GLcontext symbol.
Add forward declaration for st_context.

---

 src/mesa/state_tracker/st_gen_mipmap.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mesa/state_tracker/st_gen_mipmap.h b/src/mesa/state_tracker/st_gen_mipmap.h
index 00fbae9..016bf3f 100644
--- a/src/mesa/state_tracker/st_gen_mipmap.h
+++ b/src/mesa/state_tracker/st_gen_mipmap.h
@@ -30,6 +30,10 @@
 #define ST_GEN_MIPMAP_H
 
 
+#include "main/mtypes.h"
+
+struct st_context;
+
 extern void
 st_init_generate_mipmap(struct st_context *st);
 




More information about the mesa-commit mailing list