ProgramParameteri will be required for ARB_geometry_shader4
or GLES3. Don't enable this function until either of those
is supported.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
SET_GetAttribLocationARB(exec, _mesa_GetAttribLocationARB);
}
- if (_mesa_is_desktop_gl(ctx)) {
- SET_ProgramParameteri(exec, _mesa_ProgramParameteriARB);
- }
-
if (ctx->API == API_OPENGL) {
SET_UseShaderProgramEXT(exec, _mesa_UseShaderProgramEXT);
SET_ActiveProgramEXT(exec, _mesa_ActiveProgramEXT);