commit | 7f86da6c609191dbad1887fe5683dfee087fa909 | [log] [tgz] |
---|---|---|
author | Brian Paul <brianp@vmware.com> | Tue Sep 15 17:08:33 2009 -0600 |
committer | Brian Paul <brianp@vmware.com> | Tue Sep 15 18:17:42 2009 -0600 |
tree | 98fbe42be7f101d7a63548a19b6c8b5b92695874 | |
parent | a016043386045d7cc35d70e42d963704fcae3731 [diff] |
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.