Skip to content

Commit

Permalink
Print the contents of the array
Browse files Browse the repository at this point in the history
  • Loading branch information
tonihele committed Mar 17, 2024
1 parent 730d66e commit 87a5baa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,7 @@ assert isValidNumber(fb) : "Invalid Matrix4f value " + uniform.getValue() + " fo
case FloatArray:
fb = uniform.getMultiData();
assert isValidNumber(fb) : "Invalid float array value "
+ Collections.singletonList((float[]) uniform.getValue()) + " for " + uniform.getBinding();
+ Arrays.toString((float[]) uniform.getValue()) + " for " + uniform.getBinding();
gl.glUniform1(loc, fb);
break;
case Vector2Array:
Expand Down

0 comments on commit 87a5baa

Please sign in to comment.