summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2011-08-23 17:18:00 -0700
committerIan Romanick <ian.d.romanick@intel.com>2011-09-26 12:14:13 -0700
commit425284e88244e63a627b3fc4ae4514f064c71a83 (patch)
tree6679a971104165eb6e7b3ee0f03893d5254e0245 /src/mesa/main/get.c
parente5301b82ff66f3acd36d9e8467ee73a6a2573695 (diff)
downloadexternal_mesa3d-425284e88244e63a627b3fc4ae4514f064c71a83.zip
external_mesa3d-425284e88244e63a627b3fc4ae4514f064c71a83.tar.gz
external_mesa3d-425284e88244e63a627b3fc4ae4514f064c71a83.tar.bz2
mesa: Remove OES_read_format extension enable flag
This extension is always enabled, and drivers do not have to option to disable it. I kept this one separate from the others because I was a little uncertain about the changes to get.c. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r--src/mesa/main/get.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 3877b71..99ce567 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -250,12 +250,6 @@ static const int extra_flush_current[] = {
EXTRA_END
};
-static const int extra_new_buffers_OES_read_format[] = {
- EXTRA_NEW_BUFFERS,
- EXT(OES_read_format),
- EXTRA_END
-};
-
static const int extra_EXT_secondary_color_flush_current[] = {
EXT(EXT_secondary_color),
EXTRA_FLUSH_CURRENT,
@@ -486,9 +480,9 @@ static const struct value_desc values[] = {
/* GL_OES_read_format */
{ GL_IMPLEMENTATION_COLOR_READ_TYPE_OES, LOC_CUSTOM, TYPE_INT, 0,
- extra_new_buffers_OES_read_format },
+ extra_new_buffers },
{ GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES, LOC_CUSTOM, TYPE_INT, 0,
- extra_new_buffers_OES_read_format },
+ extra_new_buffers },
/* GL_EXT_framebuffer_object */
{ GL_FRAMEBUFFER_BINDING_EXT, BUFFER_INT(Name),