projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31e739a
)
added comment about glTexImage and renderbuffers
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 1 Dec 2005 00:18:49 +0000
(
00:18
+0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 1 Dec 2005 00:18:49 +0000
(
00:18
+0000)
src/mesa/main/teximage.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/teximage.c
b/src/mesa/main/teximage.c
index cb0e1884d701755bef1026a9d75237ce1192e7bd..79e9aa9edabc4d2ab2ee0e79245df3388164f82f 100644
(file)
--- a/
src/mesa/main/teximage.c
+++ b/
src/mesa/main/teximage.c
@@
-2246,6
+2246,12
@@
_mesa_TexImage2D( GLenum target, GLint level, GLint internalFormat,
width, height, border, format, type, pixels,
&ctx->Unpack, texObj, texImage);
+ /*
+ * XXX if this texture image is currently bound to a user-created
+ * framebuffer object, we have to invalidate that framebuffer's
+ * completeness state.
+ */
+
ASSERT(texImage->TexFormat);
/* state update */