Use emscripten_webgl2_get_proc_address for WebGL2 context (#2316)

This commit is contained in:
C.Even
2020-11-20 23:23:07 +08:00
committed by GitHub
parent 13aafdcec0
commit 8c18906d97

View File

@@ -134,7 +134,7 @@ namespace bgfx { namespace gl
SwapChainGL* swapChain = BX_NEW(g_allocator, SwapChainGL)(context, canvas);
import(1);
import(version);
return swapChain;
}