Skip to content

Commit

Permalink
sokol: fix gfx structs
Browse files Browse the repository at this point in the history
  • Loading branch information
medvednikov committed Oct 5, 2023
1 parent 0bf85d0 commit 322ba71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions vlib/sokol/gfx/gfx_structs.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -603,16 +603,16 @@ pub fn (mut action C.sg_color_attachment_action) set_color_values(r, g, b, a f32
*/
pub struct C.sg_depth_attachment_action {
pub mut:
action Action
value f32
load_action Action
clear_value f32
}

pub type DepthAttachmentAction = C.sg_depth_attachment_action

pub struct C.sg_stencil_attachment_action {
pub mut:
action Action
value u8
load_action Action
clear_value u8
}

pub type StencilAttachmentAction = C.sg_stencil_attachment_action
Expand Down

0 comments on commit 322ba71

Please sign in to comment.