diff --git a/src/glcontext_html5.cpp b/src/glcontext_html5.cpp index 78d141bcb..90798bdc4 100644 --- a/src/glcontext_html5.cpp +++ b/src/glcontext_html5.cpp @@ -134,7 +134,7 @@ namespace bgfx { namespace gl SwapChainGL* swapChain = BX_NEW(g_allocator, SwapChainGL)(context, canvas); - import(1); + import(version); return swapChain; }