aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-12-27 21:50:24 +0000
committerEric Engestrom <[email protected]>2019-12-28 11:58:37 +0000
commita6873a8df2393777975ae3043a395d79e495b365 (patch)
treec099518ba23bd523049998880b748fab31043a94 /src/mesa
parentdcba7731e6056b6cad03064f90a97cf206e68a75 (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.c3
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");