projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
texobj: Check completeness with InternalFormat rather than Mesa format
[mesa.git]
/
src
/
mesa
/
main
/
texobj.c
diff --git
a/src/mesa/main/texobj.c
b/src/mesa/main/texobj.c
index 547055ecf39f9d2647059c5b429c00fb888a5d2f..b107a8f8678c061dfe67084d2e281e542aa51021 100644
(file)
--- a/
src/mesa/main/texobj.c
+++ b/
src/mesa/main/texobj.c
@@
-835,7
+835,7
@@
_mesa_test_texobj_completeness( const struct gl_context *ctx,
incomplete(t, MIPMAP, "TexImage[%d] is missing", i);
return;
}
- if (img->
TexFormat != baseImage->Tex
Format) {
+ if (img->
InternalFormat != baseImage->Internal
Format) {
incomplete(t, MIPMAP, "Format[i] != Format[baseLevel]");
return;
}