From: Oliver McFadden Date: Tue, 11 Sep 2012 08:07:11 +0000 (+0300) Subject: mesa: remove FEATURE_ARB_pixel_buffer_object define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c609bf9786ecc480e0aaf2736324fa8a47592c48;p=mesa.git mesa: remove FEATURE_ARB_pixel_buffer_object define. Signed-off-by: Oliver McFadden Reviewed-by: Brian Paul --- diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index e1f124e2d4b..abce52e5848 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1123,12 +1123,9 @@ _mesa_free_context_data( struct gl_context *ctx ) _mesa_free_varray_data(ctx); _mesa_free_transform_feedback(ctx); -#if FEATURE_ARB_pixel_buffer_object _mesa_reference_buffer_object(ctx, &ctx->Pack.BufferObj, NULL); _mesa_reference_buffer_object(ctx, &ctx->Unpack.BufferObj, NULL); _mesa_reference_buffer_object(ctx, &ctx->DefaultPacking.BufferObj, NULL); -#endif - _mesa_reference_buffer_object(ctx, &ctx->Array.ArrayBufferObj, NULL); /* free dispatch tables */ diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h index a94d2f93a5e..30411f7c9c4 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_pixel_buffer_object FEATURE_GL #define FEATURE_ARB_sampler_objects FEATURE_GL #define FEATURE_ARB_sync FEATURE_GL