1
0
Fork 0

Remove useless cast

This commit is contained in:
Patryk Obara 2020-02-12 06:14:46 +01:00
parent 0319f0955c
commit 45704c95fe

View file

@ -984,7 +984,7 @@ dosurface:
sdl.opengl.ruby.output_size = glGetUniformLocation(sdl.opengl.program_object, "rubyOutputSize");
sdl.opengl.ruby.frame_count = glGetUniformLocation(sdl.opengl.program_object, "rubyFrameCount");
// Don't force updating unless a shader depends on frame_count
RENDER_SetForceUpdate(sdl.opengl.ruby.frame_count != (GLint)-1);
RENDER_SetForceUpdate(sdl.opengl.ruby.frame_count != -1);
}
}
}