Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wysaid committed Sep 13, 2024
1 parent 272bbe7 commit 986ed1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/main/jni/cge/common/cgeShaderFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void UniformParameters::assignUniforms(CGEImageHandlerInterface* hander, GLuint
glUniform2i(uniformID, (*iter)->uniformValue[0].valuei, (*iter)->uniformValue[1].valuei);
break;
case uniformINTV3:
glUniform3i(uniformID, (*iter)->uniformValue[0].valuei, (*iter)->uniformValue[1].valuei, (*iter)->uniformValue[3].valuei);
glUniform3i(uniformID, (*iter)->uniformValue[0].valuei, (*iter)->uniformValue[1].valuei, (*iter)->uniformValue[2].valuei);
break;
case uniformINTV4:
glUniform4i(uniformID, (*iter)->uniformValue[0].valuei, (*iter)->uniformValue[1].valuei, (*iter)->uniformValue[2].valuei, (*iter)->uniformValue[3].valuei);
Expand Down

0 comments on commit 986ed1c

Please sign in to comment.