mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-07 21:43:15 +00:00
Remove use of incl in vendor:nanovg
This commit is contained in:
2
vendor/nanovg/gl/gl.odin
vendored
2
vendor/nanovg/gl/gl.odin
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user