Skip to content

Commit

Permalink
Merge pull request #2 from Icegrave0391/master
Browse files Browse the repository at this point in the history
add glimpl_submit() before a stateful command glGetUniformSubroutineuiv
  • Loading branch information
dmaivel authored Jan 17, 2025
2 parents 3427aee + 6f7bb93 commit fc70fbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/glimpl.c
Original file line number Diff line number Diff line change
Expand Up @@ -8595,6 +8595,7 @@ void glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint* params
pb_push(shadertype);
pb_push(location);

glimpl_submit();
*params = pb_read(SGL_OFFSET_REGISTER_RETVAL_V);
}

Expand Down

0 comments on commit fc70fbe

Please sign in to comment.