summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-04 16:40:04 -0700
committerVinson Lee <[email protected]>2010-08-04 16:40:04 -0700
commite9d6f2fc8a88cd18a9914ee7c8f947c869ed3e50 (patch)
treeb895e7851369b6a9ee0a75cdf6ecea07475576f6
parenta25ac9b5266c1f6820b073108555140c631454e1 (diff)
st/mesa: Add missing header in st_cb_readpixels.h.
Include mtypes.h for GLcontext symbol.
-rw-r--r--src/mesa/state_tracker/st_cb_readpixels.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_readpixels.h b/src/mesa/state_tracker/st_cb_readpixels.h
index c90ef029062..9e1f7b4925e 100644
--- a/src/mesa/state_tracker/st_cb_readpixels.h
+++ b/src/mesa/state_tracker/st_cb_readpixels.h
@@ -29,6 +29,10 @@
#ifndef ST_CB_READPIXELS_H
#define ST_CB_READPIXELS_H
+#include "main/mtypes.h"
+
+struct dd_function_table;
+
extern struct st_renderbuffer *
st_get_color_read_renderbuffer(GLcontext *ctx);