From eb71583aca8d879089db5a535a73677ae0302ced Mon Sep 17 00:00:00 2001 From: Ondra Voves Date: Wed, 17 Apr 2024 14:36:39 +0200 Subject: [PATCH] Fix missing "pub" in debugdraw api --- .github/workflows/test.yaml | 2 +- src/debugdraw.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 453f3cb..5cbc8e4 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -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 diff --git a/src/debugdraw.zig b/src/debugdraw.zig index e4e259e..778de66 100644 --- a/src/debugdraw.zig +++ b/src/debugdraw.zig @@ -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;