From e8ba24cbfd39652efec8801280ef11f909dcb0a9 Mon Sep 17 00:00:00 2001 From: Oliver McFadden Date: Tue, 11 Sep 2012 11:05:05 +0300 Subject: [PATCH] mesa: remove FEATURE_ARB_map_buffer_range define. Signed-off-by: Oliver McFadden Reviewed-by: Brian Paul --- src/mesa/main/api_exec.c | 2 -- src/mesa/main/dlist.c | 2 -- src/mesa/main/mfeatures.h | 1 - 3 files changed, 5 deletions(-) diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index 1ceb4944689..74a74fb19a5 100644 --- a/src/mesa/main/api_exec.c +++ b/src/mesa/main/api_exec.c @@ -761,12 +761,10 @@ _mesa_create_exec_table(struct gl_context *ctx) SET_RenderbufferStorageMultisample(exec, _mesa_RenderbufferStorageMultisample); } -#if FEATURE_ARB_map_buffer_range if (ctx->API != API_OPENGLES2) { SET_MapBufferRange(exec, _mesa_MapBufferRange); SET_FlushMappedBufferRange(exec, _mesa_FlushMappedBufferRange); } -#endif /* GL_ARB_copy_buffer */ if (ctx->API != API_OPENGLES2) { diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 6ee1834cdd9..f6fcd309946 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -10469,10 +10469,8 @@ _mesa_create_save_table(void) SET_ProgramLocalParameters4fvEXT(table, save_ProgramLocalParameters4fvEXT); /* ARB 50. GL_ARB_map_buffer_range */ -#if FEATURE_ARB_map_buffer_range SET_MapBufferRange(table, _mesa_MapBufferRange); /* no dlist save */ SET_FlushMappedBufferRange(table, _mesa_FlushMappedBufferRange); /* no dl */ -#endif /* ARB 51. GL_ARB_texture_buffer_object */ SET_TexBufferARB(table, _mesa_TexBuffer); /* no dlist save */ diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h index 5245c18e232..a94d2f93a5e 100644 --- a/src/mesa/main/mfeatures.h +++ b/src/mesa/main/mfeatures.h @@ -84,7 +84,6 @@ #define FEATURE_remap_table 0 #endif -#define FEATURE_ARB_map_buffer_range FEATURE_GL #define FEATURE_ARB_pixel_buffer_object FEATURE_GL #define FEATURE_ARB_sampler_objects FEATURE_GL #define FEATURE_ARB_sync FEATURE_GL -- 2.11.0