summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-12-01 00:18:49 +0000
committerBrian Paul <[email protected]>2005-12-01 00:18:49 +0000
commitcf2702e3dbf41939a6be0a09f58b9578da88e910 (patch)
treee33de174729068496eb59c0886d7094e5669a2ff /src
parent31e739a18931fa48454f172818245b0927c8910f (diff)
added comment about glTexImage and renderbuffers
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/teximage.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index cb0e1884d70..79e9aa9edab 100644
--- 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 */