From: Christoph Bumiller <christoph.bumil...@speed.at> Only the test of the extension enable should be relevant. --- src/mesa/main/teximage.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 31a559e..5a27797 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -4005,8 +4005,7 @@ _mesa_TexBuffer(GLenum target, GLenum internalFormat, GLuint buffer) GET_CURRENT_CONTEXT(ctx); FLUSH_VERTICES(ctx, 0); - if (!(ctx->API == API_OPENGL_CORE && - ctx->Extensions.ARB_texture_buffer_object)) { + if (!ctx->Extensions.ARB_texture_buffer_object) { _mesa_error(ctx, GL_INVALID_OPERATION, "glTexBuffer"); return; } -- 1.7.3.4 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev