diff options
author | Brian Paul <brianp@vmware.com> | 2009-05-01 12:25:42 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-05-01 12:25:42 -0600 |
commit | b85b315ebbe25efbd118887bdc87a562d4334fcc (patch) | |
tree | 1db456c924ce8f0247f56c27c409d5dc9a122127 /progs/util/winpos.c | |
parent | 30b3d800917cc5b41ec508fd38a0ae1da8624a36 (diff) |
st: added st_renderbuffer::defined flag
Indicates whether there's defined image contents, or garbage/don't care.
This is set when we draw into a renderbuffer and cleared when we resize/
reallocate a renderbuffer or do a buffer swap (back buffer becomes undefined).
We use this to determine whether the front color buffer has been drawn to,
and whether to display its contents upon glFlush/Finish(), when the new
st_swapbuffers() function is used.
Diffstat (limited to 'progs/util/winpos.c')
0 files changed, 0 insertions, 0 deletions