diff options
author | Marek Olšák <[email protected]> | 2012-12-08 22:53:23 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-12-12 13:09:54 +0100 |
commit | afa902a705b9de70902b6559a383a35f38152555 (patch) | |
tree | d3b5f0b1f3bfa1e7f8d84e5481347d1f9dcbed16 /src/mesa/drivers | |
parent | 0ac83a20010ae5fa1635866d1950f06aac15a46d (diff) |
mesa: don't advertise ARB_texture_buffer_object in legacy contexts
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rwxr-xr-x | src/mesa/drivers/dri/intel/intel_extensions.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_extensions.c b/src/mesa/drivers/dri/intel/intel_extensions.c index df886a5cdfd..7b2b595b9a4 100755 --- a/src/mesa/drivers/dri/intel/intel_extensions.c +++ b/src/mesa/drivers/dri/intel/intel_extensions.c @@ -102,10 +102,7 @@ intelInitExtensions(struct gl_context *ctx) ctx->Extensions.ARB_blend_func_extended = !driQueryOptionb(&intel->optionCache, "disable_blend_func_extended"); ctx->Extensions.ARB_draw_buffers_blend = true; ctx->Extensions.ARB_uniform_buffer_object = true; - - if (ctx->API == API_OPENGL_CORE) { - ctx->Extensions.ARB_texture_buffer_object = true; - } + ctx->Extensions.ARB_texture_buffer_object = true; } if (intel->gen >= 5) |