aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2013-07-01 11:33:28 +0200
committermarha <marha@users.sourceforge.net>2013-07-01 11:55:53 +0200
commit28d1f604563d9c738a4c5630364d0e6b4e9b13ff (patch)
tree1fbc6bd5cc5a1c950c6dfdf64c348f81604e9e9e /mesalib/src/mesa/main/teximage.c
parentced1a6b8f5a750fcd3b8d3d0d9bbdee830064e6c (diff)
downloadvcxsrv-28d1f604563d9c738a4c5630364d0e6b4e9b13ff.tar.gz
vcxsrv-28d1f604563d9c738a4c5630364d0e6b4e9b13ff.tar.bz2
vcxsrv-28d1f604563d9c738a4c5630364d0e6b4e9b13ff.zip
mesa git update 1 Jul 2013
mesa commit bf95ca7de0c02a00a75d1d5e2693a33b68ff784d
Diffstat (limited to 'mesalib/src/mesa/main/teximage.c')
-rw-r--r--mesalib/src/mesa/main/teximage.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mesalib/src/mesa/main/teximage.c b/mesalib/src/mesa/main/teximage.c
index 5226687ff..111849655 100644
--- a/mesalib/src/mesa/main/teximage.c
+++ b/mesalib/src/mesa/main/teximage.c
@@ -1852,12 +1852,8 @@ legal_texsubimage_target(struct gl_context *ctx, GLuint dims, GLenum target)
static GLboolean
mutable_tex_object(struct gl_context *ctx, GLenum target)
{
- if (ctx->Extensions.ARB_texture_storage) {
- struct gl_texture_object *texObj =
- _mesa_get_current_tex_object(ctx, target);
- return !texObj->Immutable;
- }
- return GL_TRUE;
+ struct gl_texture_object *texObj = _mesa_get_current_tex_object(ctx, target);
+ return !texObj->Immutable;
}