summaryrefslogtreecommitdiff
path: root/src/mesa/main/glheader.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-04-22 21:11:56 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-04-27 19:28:10 -0400
commit61d94dd207459e0c42d98c9d6eb7df5eabdfd8a4 (patch)
treeb21d77a10847f7aa383075af2ea1e419522c1c9a /src/mesa/main/glheader.h
parent44f9aef9ee9ceda0659e882afbac4d877267c4fd (diff)
mesa: Move GL_RGB565 workaround into fbobject.c
Diffstat (limited to 'src/mesa/main/glheader.h')
-rw-r--r--src/mesa/main/glheader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h
index 77544c88c6..7f01d9f39b 100644
--- a/src/mesa/main/glheader.h
+++ b/src/mesa/main/glheader.h
@@ -85,6 +85,10 @@ typedef void *GLeglImageOES;
#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
#endif
+/* GLES 2.0 token */
+#ifndef GL_RGB565
+#define GL_RGB565 0x8D62
+#endif
/**
* Special, internal token