projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd11e76
)
fixed another texImage mistake in _mesa_GetTexImage()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 13 Nov 2000 15:25:26 +0000
(15:25 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 13 Nov 2000 15:25:26 +0000
(15:25 +0000)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index 3da0bc7ec8e82cad4df09687dfbd229153379f6a..0eab5dfa50c9c638de8334b14fffefe16597fd97 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-1,4
+1,4
@@
-/* $Id: teximage.c,v 1.6
1 2000/11/10 15:32:07
brianp Exp $ */
+/* $Id: teximage.c,v 1.6
2 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) {