summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-03-06 05:26:12 +0100
committerMarek Olšák <maraeo@gmail.com>2011-03-07 23:27:35 +0100
commitdf818d572e4ddb1ceccd22a538bf98ce01caffee (patch)
treeabdbc650370be3bf0652cc3ba6815aab08bf04f2 /src/mesa/main/mtypes.h
parentf4ca12c4f1fc249d0be8f228a638748609fcf696 (diff)
mesa: invalidate framebuffer if internal format of renderbuffer is changed
RenderTexture doesn't have to be called in invalidate_rb, I guess.
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index db3eba20c6..49ecea59d3 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2376,6 +2376,8 @@ struct gl_renderbuffer
GLenum DataType; /**< Type of values passed to the Get/Put functions */
GLvoid *Data; /**< This may not be used by some kinds of RBs */
+ GLboolean AttachedAnytime; /**< TRUE if it was attached to a framebuffer */
+
/* Used to wrap one renderbuffer around another: */
struct gl_renderbuffer *Wrapped;