summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/readpix.h
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-11-20 21:23:35 -0800
committerVinson Lee <[email protected]>2010-11-20 21:23:35 -0800
commitb6215d18b59f675fba027f87f9f41a6204bd5ccd (patch)
tree821fd746739ca82ec046c601f31b2a814b21188e /src/mesa/main/readpix.h
parentbab188d22f033dd64f1ee4e50163131087ecff97 (diff)
mesa: Clean up header file inclusion in readpix.h.
Diffstat (limited to 'src/mesa/main/readpix.h')
-rw-r--r--src/mesa/main/readpix.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/readpix.h b/src/mesa/main/readpix.h
index 0753e619fed..fd25e703e04 100644
--- a/src/mesa/main/readpix.h
+++ b/src/mesa/main/readpix.h
@@ -27,8 +27,9 @@
#define READPIXELS_H
-#include "main/mtypes.h"
+#include "glheader.h"
+struct gl_context;
extern GLboolean
_mesa_error_check_format_type(struct gl_context *ctx, GLenum format, GLenum type,