demos: update fbotexture.c to use EXT or ARB functions exclusively
authorBrian Paul <brianp@vmware.com>
Thu, 11 Jun 2009 21:50:47 +0000 (15:50 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 12 Jun 2009 14:15:33 +0000 (08:15 -0600)
commitfb64365642be82ac0dc0d43452afc4650d309b53
treefa7c28933792d89ac948f503badc1476b7d5bb3f
parent476685c63c15badd6c79a2794ae5cfb23a0a7ad4
demos: update fbotexture.c to use EXT or ARB functions exclusively

When the -arb option is specified we use GL_ARB_framebuffer_object intead
of GL_EXT_framebuffer_object.

For some vendors' OpenGL it's important to call the ARB entrypoints
instead of the EXT entrypoints to get correct behaviour.  Use some
function pointer tricks to do this (instead of GLEW).
progs/demos/Makefile
progs/demos/fbotexture.c