diff options
author | Eric Engestrom <[email protected]> | 2019-12-27 21:50:24 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-12-28 11:58:37 +0000 |
commit | a6873a8df2393777975ae3043a395d79e495b365 (patch) | |
tree | c099518ba23bd523049998880b748fab31043a94 /src/mesa | |
parent | dcba7731e6056b6cad03064f90a97cf206e68a75 (diff) |
mesa: avoid returning a value in a void function
Fixes: 1d1722e91070d7c37687 ("mesa: add EXT_dsa NamedProgram functions")
Cc: Pierre-Eric Pelloux-Prayer <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/arbprogram.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/arbprogram.c b/src/mesa/main/arbprogram.c index ac7aa49213e..1c8cc13d061 100644 --- a/src/mesa/main/arbprogram.c +++ b/src/mesa/main/arbprogram.c @@ -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"); |