mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-23 00:50:36 +02:00
mesa: disable ProgramParameteri until it is needed
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>
This commit is contained in:
parent
31c03f2f8c
commit
f862be0d7c
1 changed files with 0 additions and 4 deletions
|
|
@ -1734,10 +1734,6 @@ _mesa_init_shader_dispatch(const struct gl_context *ctx,
|
|||
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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue