From 149de958f3abd363a36446f28e5680cc8217d98d Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 1 Aug 2020 23:45:36 +0200 Subject: [PATCH] gg: fix compilation --- vlib/gg/gg.v | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vlib/gg/gg.v b/vlib/gg/gg.v index 4eda357206..90272c625e 100644 --- a/vlib/gg/gg.v +++ b/vlib/gg/gg.v @@ -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) { - sgl_enable_texture() - sgl_texture(img.sokol_img) - + C.Csgl_enable_texture() + C.sgl_texture(img.sokol_img) /* sgl.c4b(c.r, c.g, c.b, 128)