mesa: avoid returning a value in a void function

Fixes: 1d1722e910 ("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>
This commit is contained in:
Eric Engestrom
2019-12-27 21:50:24 +00:00
parent dcba7731e6
commit a6873a8df2
+2 -1
View File
@@ -1048,7 +1048,8 @@ _mesa_GetNamedProgramivEXT(GLuint program, GLenum target, GLenum pname,
{
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");