diff options
| author | gingerBill <bill@gingerbill.org> | 2024-01-29 13:11:14 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-01-29 13:11:14 +0000 |
| commit | 338793b68e10d6ef2e702d934432c6516b6dbedf (patch) | |
| tree | 3c2a929d6ce0ea72d63477073d6df6b65186500f | |
| parent | 59575d9b22c09133438e44deaf4e39f8bd9ab459 (diff) | |
Remove use of `incl` in `vendor:nanovg`
| -rw-r--r-- | vendor/nanovg/gl/gl.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/nanovg/gl/gl.odin b/vendor/nanovg/gl/gl.odin index 50df6e1b5..48998bda5 100644 --- a/vendor/nanovg/gl/gl.odin +++ b/vendor/nanovg/gl/gl.odin @@ -1390,7 +1390,7 @@ CreateFramebuffer :: proc(ctx: ^nvg.Context, w, h: int, imageFlags: ImageFlags) gl.GetIntegerv(gl.RENDERBUFFER_BINDING, &tempRBO) imageFlags := imageFlags - incl(&imageFlags, ImageFlags { .FLIP_Y, .PREMULTIPLIED }) + imageFlags += {.FLIP_Y, .PREMULTIPLIED} fb.image = nvg.CreateImageRGBA(ctx, w, h, imageFlags, nil) fb.texture = ImageHandle(ctx, fb.image) fb.ctx = ctx |