demos: use glGenerateMipmapEXT entrypoint in cubemap.c
authorKeith Whitwell <keithw@vmware.com>
Thu, 12 Mar 2009 14:30:22 +0000 (14:30 +0000)
committerKeith Whitwell <keithw@vmware.com>
Thu, 12 Mar 2009 14:30:49 +0000 (14:30 +0000)
commit1e074dcb7bce276d7caa5b0bdd0ce95f3313a2c1
treeddcd52f3f961341225531e9cdfff5d29334a094c
parent45b8e76b5ced9f9fddf2d41ce8c64d2f642a5786
demos: use glGenerateMipmapEXT entrypoint in cubemap.c

glGenerateMipmap() is part of ARB_framebuffer_object, which many mesa
drivers don't advertise.  Add check for EXT_framebuffer_object.
progs/demos/cubemap.c