Skip to content

Commit

Permalink
sokol: minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
medvednikov committed Oct 7, 2023
1 parent f3e4963 commit 0a4fa27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/other_ci.yml
Expand Up @@ -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
Expand All @@ -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 ; \
Expand Down
4 changes: 2 additions & 2 deletions vlib/sokol/gfx/gfx_structs.c.v
Expand Up @@ -490,7 +490,7 @@ pub mut:
pub type ImageInfo = C.sg_image_info

pub struct C.sg_image {
pub:
pub mut:
id u32
}

Expand All @@ -501,7 +501,7 @@ pub fn (mut i Image) free() {
}

pub struct C.sg_sampler {
pub:
pub mut:
id u32
}

Expand Down

0 comments on commit 0a4fa27

Please sign in to comment.