1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

gg: fix compilation

This commit is contained in:
Alexander Medvednikov 2020-08-01 23:45:36 +02:00
parent a1593e7db8
commit 149de958f3

View File

@ -327,9 +327,8 @@ pub fn (ctx &Context) draw_image(x, y, width, height f32, img u32) {
} }
pub fn (ctx &Context) draw_image2(x, y, width, height f32, img Image) { pub fn (ctx &Context) draw_image2(x, y, width, height f32, img Image) {
sgl_enable_texture() C.Csgl_enable_texture()
sgl_texture(img.sokol_img) C.sgl_texture(img.sokol_img)
/* /*
sgl.c4b(c.r, c.g, c.b, 128) sgl.c4b(c.r, c.g, c.b, 128)