mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Remove use of incl in vendor:nanovg
This commit is contained in:
Vendored
+1
-1
@@ -1390,7 +1390,7 @@ CreateFramebuffer :: proc(ctx: ^nvg.Context, w, h: int, imageFlags: ImageFlags)
|
|||||||
gl.GetIntegerv(gl.RENDERBUFFER_BINDING, &tempRBO)
|
gl.GetIntegerv(gl.RENDERBUFFER_BINDING, &tempRBO)
|
||||||
|
|
||||||
imageFlags := imageFlags
|
imageFlags := imageFlags
|
||||||
incl(&imageFlags, ImageFlags { .FLIP_Y, .PREMULTIPLIED })
|
imageFlags += {.FLIP_Y, .PREMULTIPLIED}
|
||||||
fb.image = nvg.CreateImageRGBA(ctx, w, h, imageFlags, nil)
|
fb.image = nvg.CreateImageRGBA(ctx, w, h, imageFlags, nil)
|
||||||
fb.texture = ImageHandle(ctx, fb.image)
|
fb.texture = ImageHandle(ctx, fb.image)
|
||||||
fb.ctx = ctx
|
fb.ctx = ctx
|
||||||
|
|||||||
Reference in New Issue
Block a user