progs/trivial: make clear-fbo-scissor.c work with other GL drivers
authorBrian Paul <brianp@vmware.com>
Wed, 10 Mar 2010 21:32:56 +0000 (14:32 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 10 Mar 2010 21:37:05 +0000 (14:37 -0700)
commitd5ccbea63cb9ba96cd4c0e2f40824ec1939c806c
treec9ccc0418e8cd18ff919bf856bd6a240407dc128
parent3198cd4a65b135005515c6dd35d006330ce31c94
progs/trivial: make clear-fbo-scissor.c work with other GL drivers

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.
progs/trivial/clear-fbo-scissor.c