mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
examples: fix simple_shader
compile error, add 2 shader examples to CI (#21112)
This commit is contained in:
parent
8997c515c5
commit
22744ce495
9 changed files with 3 additions and 3 deletions
|
@ -143,7 +143,7 @@ fn cleanup(user_data voidptr) {
|
|||
fn frame(user_data voidptr) {
|
||||
mut app := unsafe { &App(user_data) }
|
||||
|
||||
pass := sapp.create_default_pass(state.pass_action)
|
||||
pass := sapp.create_default_pass(app.pass_action)
|
||||
gfx.begin_pass(&pass)
|
||||
|
||||
gfx.apply_pipeline(app.shader_pipeline)
|
Loading…
Add table
Add a link
Reference in a new issue