mesa: Change OES_standard_derivatives to be stand-alone extension
authorChad Versace <chad.versace@intel.com>
Wed, 12 Jan 2011 23:47:26 +0000 (15:47 -0800)
committerChad Versace <chad.versace@intel.com>
Fri, 14 Jan 2011 01:26:28 +0000 (17:26 -0800)
commit78838b2d1bd88f948030cd60479b832b661ccd3c
tree6b0ae4f6ec00c7578b483ad90d8d5651d0c80a94
parenta2ab929ab2d7dd4fcbbc5f32c8feabf42cad4d34
mesa: Change OES_standard_derivatives to be stand-alone extension

Add a bit in struct gl_extensions for OES_standard_derivatives, and enable
the bit by default. Advertise the extension only if the bit is enabled.

Previously, OES_standard_derivatives was advertised in GLES2 contexts
if ARB_framebuffer_object was enabled.
src/mesa/main/extensions.c
src/mesa/main/mtypes.h