summaryrefslogtreecommitdiff
path: root/progs/demos/particles.cxx
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-01 12:25:42 -0600
committerBrian Paul <brianp@vmware.com>2009-05-01 12:25:42 -0600
commitb85b315ebbe25efbd118887bdc87a562d4334fcc (patch)
tree1db456c924ce8f0247f56c27c409d5dc9a122127 /progs/demos/particles.cxx
parent30b3d800917cc5b41ec508fd38a0ae1da8624a36 (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/demos/particles.cxx')
0 files changed, 0 insertions, 0 deletions