Fixing WebGL + Android instancing.

This commit is contained in:
Бранимир Караџић
2021-05-18 20:22:46 -07:00
parent 6ca5060ce8
commit 3214539bad
12 changed files with 46 additions and 18 deletions

View File

@@ -112,12 +112,12 @@ namespace bgfx { namespace gl
// Work around bug https://bugs.chromium.org/p/chromium/issues/detail?id=1045643 in Chrome
// by having alpha always enabled.
s_attrs.alpha = true;
s_attrs.premultipliedAlpha = false;
s_attrs.depth = true;
s_attrs.stencil = true;
s_attrs.alpha = true;
s_attrs.premultipliedAlpha = false;
s_attrs.depth = true;
s_attrs.stencil = true;
s_attrs.enableExtensionsByDefault = true;
s_attrs.antialias = false;
s_attrs.antialias = false;
s_attrs.minorVersion = 0;
const char* canvas = (const char*) _nwh;