progs/demos: create a texture object in lodbias.c
authorBrian Paul <brianp@vmware.com>
Tue, 15 Sep 2009 23:08:33 +0000 (17:08 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 16 Sep 2009 00:17:42 +0000 (18:17 -0600)
commit7f86da6c609191dbad1887fe5683dfee087fa909
tree98fbe42be7f101d7a63548a19b6c8b5b92695874
parenta016043386045d7cc35d70e42d963704fcae3731
progs/demos: create a texture object in lodbias.c

Before, we were using the default texture object (name=0).  This caused
the intel_generate_mipmap() path to fail since passing texture=0 to
glFramebufferTexture2DEXT() causes us to _unbind_ the texture if present.
progs/demos/lodbias.c