Fixes: 1d1722e91070d7c37687 ("mesa: add EXT_dsa NamedProgram functions")
Cc: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
{
struct gl_program* prog;
if (pname == GL_PROGRAM_BINDING_ARB) {
- return _mesa_GetProgramivARB(target, pname, params);
+ _mesa_GetProgramivARB(target, pname, params);
+ return;
}
prog = lookup_or_create_program(program, target,
"glGetNamedProgramivEXT");