mesa: Add extension tracking for {ARB,OES}_get_program_binary
authorIan Romanick <ian.d.romanick@intel.com>
Sun, 2 Dec 2012 22:20:04 +0000 (14:20 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Sat, 12 Jan 2013 02:13:53 +0000 (18:13 -0800)
commit8af7d3ce9fe60d7ab19aa30efc15f9ed97df27ff
treeafba61522a3fc5f689ca0287871ae57f520885ff
parent31ca0c8be33b78b8e7321ac9625d89941d7a5233
mesa: Add extension tracking for {ARB,OES}_get_program_binary

The ARB_get_program_binary spec says "OpenGL 3.0 is required."  The
nearly identical OES_get_program_binary extension is available for
OpenGL ES 2.0, so I don't see how / why OpenGL 3.0 is a requirement for
the ARB version.  Let's just enable whenever GL_ARB_shader_objects is
available.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/extensions.c