summaryrefslogtreecommitdiff
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-04-16 20:25:08 +1000
committerDave Airlie <airlied@linux.ie>2008-04-16 20:25:08 +1000
commit09df5eaff2ba2694b82d1211fd24410cb2997e25 (patch)
tree0028ffd43d1895bb9e7d1ab0f5906629b0fa4825 /src/mesa/main/teximage.c
parent9566cf0e2f326d8fe638748d0bc10626e8c0387e (diff)
parentb64448b3e4026d3f11f366515b7544a6581403f3 (diff)
Merge branch 'master' into r500test
Conflicts: src/mesa/drivers/dri/r300/r300_cmdbuf.c src/mesa/drivers/dri/r300/r300_ioctl.c
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r--src/mesa/main/teximage.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 7241cf61be..adf3d37597 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -2306,9 +2306,6 @@ _mesa_GetTexImage( GLenum target, GLint level, GLenum format,
return;
}
- if (!pixels)
- return;
-
_mesa_lock_texture(ctx, texObj);
{
texImage = _mesa_select_tex_image(ctx, texObj, target, level);