diff options
author | Brian Paul <[email protected]> | 2008-12-16 15:50:14 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-12-16 15:50:14 -0700 |
commit | b0caa10a85b39f0e657dc0c4816884c9356b0b1a (patch) | |
tree | 812ec91f0cf375921533c2722de313461004aa20 /src/glut/glx/glut_swap.c | |
parent | 3616fb08da8ef392db1d5ccab55b8eb9f6a6f32b (diff) | |
parent | 3be8d6db9e8bfbd1b3ebf9ac382857ad1e6ef753 (diff) |
Merge commit 'origin/master' into gallium-0.2
Diffstat (limited to 'src/glut/glx/glut_swap.c')
-rw-r--r-- | src/glut/glx/glut_swap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glut/glx/glut_swap.c b/src/glut/glx/glut_swap.c index 4831b8eb351..07a2da88a2c 100644 --- a/src/glut/glx/glut_swap.c +++ b/src/glut/glx/glut_swap.c @@ -18,6 +18,10 @@ glutSwapBuffers(void) { GLUTwindow *window = __glutCurrentWindow; + if (__glutPPMFile) { + __glutWritePPMFile(); + } + if (window->renderWin == window->win) { if (__glutCurrentWindow->treatAsSingle) { /* Pretend the double buffered window is single buffered, |