mirror of
https://github.com/PixelGuys/Cubyz.git
synced 2025-09-10 12:58:21 -04:00
Fix negative integer modulo issue with animation.
This commit is contained in:
parent
e9372da52d
commit
d9b81b91f8
@ -446,7 +446,7 @@ pub const meshing = struct {
|
|||||||
|
|
||||||
c.glUniform3f(uniforms.ambientLight, ambient[0], ambient[1], ambient[2]);
|
c.glUniform3f(uniforms.ambientLight, ambient[0], ambient[1], ambient[2]);
|
||||||
|
|
||||||
c.glUniform1i(uniforms.time, @bitCast(i32, time));
|
c.glUniform1i(uniforms.time, @truncate(u31, time));
|
||||||
|
|
||||||
c.glBindVertexArray(vao);
|
c.glBindVertexArray(vao);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user