Skip to content

Commit

Permalink
Fix missing "pub" in debugdraw api
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraVoves committed Apr 17, 2024
1 parent d7b1526 commit eb71583
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
validation:
name: Validation
runs-on: ubuntu-latest
timeout-minutes: 2
timeout-minutes: 3
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion src/debugdraw.zig
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ pub const Encoder = opaque {
extern fn zbgfx_EncoderSetState(dde: *Encoder, _depthTest: bool, _depthWrite: bool, _clockwise: bool) void;

//
fn setColor(dde: *Encoder, _abgr: u32) void {
pub fn setColor(dde: *Encoder, _abgr: u32) void {
zbgfx_EncoderSetColor(dde, _abgr);
}
extern fn zbgfx_EncoderSetColor(dde: *Encoder, _abgr: u32) void;
Expand Down

0 comments on commit eb71583

Please sign in to comment.