mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Fixed #1136 premultiplied alpha.
This commit is contained in:
@@ -1216,7 +1216,7 @@ NVGLUframebuffer* nvgluCreateFramebuffer(NVGcontext* _ctx, int _width, int _heig
|
||||
tex->width = _width;
|
||||
tex->height = _height;
|
||||
tex->type = NVG_TEXTURE_RGBA;
|
||||
tex->flags = _imageFlags;
|
||||
tex->flags = _imageFlags | NVG_IMAGE_PREMULTIPLIED;
|
||||
tex->id = bgfx::getTexture(fbh);
|
||||
|
||||
NVGLUframebuffer* framebuffer = BX_NEW(gl->m_allocator, NVGLUframebuffer);
|
||||
|
||||
Reference in New Issue
Block a user