From 0a4fa279a243bc4e0cbc15f072230126c89cb920 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Sat, 7 Oct 2023 03:14:06 +0300 Subject: [PATCH] sokol: minor fixes --- .github/workflows/other_ci.yml | 4 ++-- vlib/sokol/gfx/gfx_structs.c.v | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/other_ci.yml b/.github/workflows/other_ci.yml index df75196d6414a1..9a90a2c0bc7ba7 100644 --- a/.github/workflows/other_ci.yml +++ b/.github/workflows/other_ci.yml @@ -99,7 +99,7 @@ jobs: - name: Ensure V can be compiled with -autofree run: ./v -autofree -o v2 cmd/v ## NB: this does not mean it runs, but at least keeps it from regressing - - name: Shader examples can be build + - name: Shader examples can be built run: | wget https://github.com/floooh/sokol-tools-bin/raw/6040b18d39649d56dbae2ae1aed59fb755b26369/bin/linux/sokol-shdc chmod +x ./sokol-shdc @@ -108,7 +108,7 @@ jobs: examples/sokol/04_multi_shader_glsl/rt_glsl_puppy \ examples/sokol/04_multi_shader_glsl/rt_glsl_march \ examples/sokol/05_instancing_glsl/rt_glsl_instancing \ - examples/sokol/06_obj_viewer/gouraud \ +# examples/sokol/06_obj_viewer/gouraud \ ; do \ echo "compiling shader $f.glsl ..."; \ ./sokol-shdc --input $f.glsl --output $f.h --slang glsl330 ; \ diff --git a/vlib/sokol/gfx/gfx_structs.c.v b/vlib/sokol/gfx/gfx_structs.c.v index 3c44bcb0814e80..aa936b7e689d55 100644 --- a/vlib/sokol/gfx/gfx_structs.c.v +++ b/vlib/sokol/gfx/gfx_structs.c.v @@ -490,7 +490,7 @@ pub mut: pub type ImageInfo = C.sg_image_info pub struct C.sg_image { -pub: +pub mut: id u32 } @@ -501,7 +501,7 @@ pub fn (mut i Image) free() { } pub struct C.sg_sampler { -pub: +pub mut: id u32 }