summaryrefslogtreecommitdiff
path: root/src/mesa/main/teximage.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-11-13 15:25:26 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-11-13 15:25:26 +0000
commitd45fdeae3531634bb4c5ea48e934e535372fb527 (patch)
tree423cb8cb2304418e1954e806fe32a28e073f926d /src/mesa/main/teximage.c
parentdd11e7664da245ca86e9e58996329836d323bc82 (diff)
fixed another texImage mistake in _mesa_GetTexImage()
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r--src/mesa/main/teximage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 3da0bc7ec8..0eab5dfa50 100644
--- a/src/mesa/main/teximage.c
+++ b/src/mesa/main/teximage.c
@@ -1,4 +1,4 @@
-/* $Id: teximage.c,v 1.61 2000/11/10 15:32:07 brianp Exp $ */
+/* $Id: teximage.c,v 1.62 2000/11/13 15:25:26 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -2189,7 +2189,7 @@ _mesa_GetTexImage( GLenum target, GLint level, GLenum format,
texUnit = &(ctx->Texture.Unit[ctx->Texture.CurrentUnit]);
texObj = _mesa_select_tex_object(ctx, texUnit, target);
- if (!texObj || !texImage ||
+ if (!texObj ||
target == GL_PROXY_TEXTURE_1D ||
target == GL_PROXY_TEXTURE_2D ||
target == GL_PROXY_TEXTURE_3D) {