mirror of https://github.com/bkaradzic/bgfx
Use emscripten_webgl2_get_proc_address for WebGL2 context (#2316)
This commit is contained in:
parent
13aafdcec0
commit
8c18906d97
|
@ -134,7 +134,7 @@ namespace bgfx { namespace gl
|
||||||
|
|
||||||
SwapChainGL* swapChain = BX_NEW(g_allocator, SwapChainGL)(context, canvas);
|
SwapChainGL* swapChain = BX_NEW(g_allocator, SwapChainGL)(context, canvas);
|
||||||
|
|
||||||
import(1);
|
import(version);
|
||||||
|
|
||||||
return swapChain;
|
return swapChain;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue