Remove use of incl in vendor:nanovg

This commit is contained in:
gingerBill
2024-01-29 13:11:14 +00:00
parent 59575d9b22
commit 338793b68e

View File

@@ -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