projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38e3675
)
use Image[i]->TexFormat to check for mipmap consistency
author
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 28 Mar 2001 21:31:54 +0000
(21:31 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Wed, 28 Mar 2001 21:31:54 +0000
(21:31 +0000)
src/mesa/main/texobj.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index da4c636056367bbc05ac7a77d54a475a94ad080f..9ebbb1415be02f46255ff076341d4ba2076fde4c 100644
(file)
--- a/
src/mesa/main/texobj.c
+++ b/
src/mesa/main/texobj.c
@@
-1,4
+1,4
@@
-/* $Id: texobj.c,v 1.4
5 2001/03/18 08:53:49 gareth
Exp $ */
+/* $Id: texobj.c,v 1.4
6 2001/03/28 21:31:54 brianp
Exp $ */
/*
* Mesa 3-D graphics library
@@
-255,7
+255,7
@@
_mesa_test_texobj_completeness( const GLcontext *ctx,
/* Test dimension-independent attributes */
for (i = minLevel; i <= maxLevel; i++) {
if (t->Image[i]) {
- if (t->Image[i]->
Format != t->Image[baseLevel]->
Format) {
+ if (t->Image[i]->
TexFormat != t->Image[baseLevel]->Tex
Format) {
t->Complete = GL_FALSE;
incomplete(t, "Format[i] != Format[baseLevel]");
return;