progs/trivial: use -c option to use glCopyPixels()
authorBrian Paul <brianp@vmware.com>
Wed, 10 Mar 2010 21:35:57 +0000 (14:35 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 10 Mar 2010 21:37:05 +0000 (14:37 -0700)
commitc7be039fad6d93911d1142fc5dea18d0c2684143
treefba4c39192cf23223dd2fc560a2ec4307330774e
parentd5ccbea63cb9ba96cd4c0e2f40824ec1939c806c
progs/trivial: use -c option to use glCopyPixels()

Otherwise we use glRead/DrawPixels to copy the off-screen FBO image
into the window.

Looks like NVIDIA's broken when using -c (the image is upside down),
but OK with -c -t.
progs/trivial/clear-fbo-scissor.c