summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-05 01:23:05 -0700
committerVinson Lee <[email protected]>2010-08-05 01:23:46 -0700
commitea1744a66438b5863a8576087b07ad6ffdcd04c5 (patch)
tree740dbee9a4f75e1b0fe8e7f93d4f7db57037cd55 /src/mesa
parentad4d27c6d1a32e3c4c92e0f22c8fbdeade4cc7af (diff)
mesa: Include missing header in st_get_mipmap.h.
Include mtypes.h for GLcontext symbol. Add forward declaration for st_context.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_gen_mipmap.h4
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 00fbae93026..016bf3f4bba 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);