summaryrefslogtreecommitdiff
path: root/progs/trivial/clear-fbo-scissor.c
AgeCommit message (Collapse)Author
2010-03-10progs/trivial: use -c option to use glCopyPixels()Brian Paul
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.
2010-03-10progs/trivial: make clear-fbo-scissor.c work with other GL driversBrian Paul
NVIDIA's driver requires that the texture that we're going to render into be complete. Need to set min/mag filters to non-mipmap modes. Plus added other error/debug checks.
2010-03-10progs/trivial: add -t (RTT) option for clear-fbo-scissor.cBrian Paul
2010-03-10progs/trivial: added clear-fbo-scissor.c to test scissored clear of FBOBrian Paul