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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;
}