diff --git a/vlib/sokol/sgl/sgl.c.v b/vlib/sokol/sgl/sgl.c.v index 7f39020381..e96f8f3248 100644 --- a/vlib/sokol/sgl/sgl.c.v +++ b/vlib/sokol/sgl/sgl.c.v @@ -106,6 +106,11 @@ pub fn scissor_rect(x int, y int, w int, h int, origin_top_left bool) { C.sgl_scissor_rect(x, y, w, h, origin_top_left) } +[inline] +pub fn scissor_rectf(x f32, y f32, w f32, h f32, origin_top_left bool) { + C.sgl_scissor_rectf(x, y, w, h, origin_top_left) +} + [inline] pub fn enable_texture() { C.sgl_enable_texture()