clip's width and height are not float type.

This commit is contained in:
RadWolfie 2018-06-07 19:43:55 -05:00
parent 5a8adcd2b6
commit 87c1594432
1 changed files with 1 additions and 1 deletions

View File

@ -3013,7 +3013,7 @@ static void pgraph_update_shader_constants(PGRAPHState *pg,
}
if (binding->surface_size_loc != -1) {
glUniform2f(binding->surface_size_loc, pg->surface_shape.clip_width,
glUniform2ui(binding->surface_size_loc, pg->surface_shape.clip_width,
pg->surface_shape.clip_height);
}