mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
sokol.sgl: add wrapper for scissor_rectf too
This commit is contained in:
parent
a173f2964e
commit
9794a239b1
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user