[Mesa-dev] [PATCH 37/47] mesa: remove FEATURE_ARB_pixel_buffer_object define.

Oliver McFadden oliver.mcfadden at linux.intel.com
Thu Sep 13 01:19:06 PDT 2012


Signed-off-by: Oliver McFadden <oliver.mcfadden at linux.intel.com>
---
 src/mesa/main/context.c   |    3 ---
 src/mesa/main/mfeatures.h |    1 -
 2 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index e1f124e..abce52e 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 a94d2f9..30411f7 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
 
-- 
1.7.8.6



More information about the mesa-dev mailing list