[Mesa-dev] [PATCH 1/2] mesa: remove NV_read_buffer extension enable flag

Marek Olšák maraeo at gmail.com
Sun Oct 28 08:09:31 PDT 2012


It's been enabled by default, so the flag isn't really useful.
---
 src/mesa/main/get.c    |    2 +-
 src/mesa/main/mtypes.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index fb55aa7..eff850c 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -356,7 +356,7 @@ extra_ARB_vertex_program_api_es2[] = {
  * GLES2 if the NV_read_buffer extension is available. */
 static const int
 extra_NV_read_buffer_api_gl[] = {
-   EXT(NV_read_buffer),
+   EXTRA_API_ES2,
    EXTRA_API_GL,
    EXTRA_END
 };
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 5756a48..fb47a72 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3044,7 +3044,6 @@ struct gl_extensions
    GLboolean NV_fragment_program_option;
    GLboolean NV_point_sprite;
    GLboolean NV_primitive_restart;
-   GLboolean NV_read_buffer;
    GLboolean NV_texture_barrier;
    GLboolean NV_texture_env_combine4;
    GLboolean NV_texture_rectangle;
-- 
1.7.9.5



More information about the mesa-dev mailing list