فهرست منبع

Use emscripten_webgl2_get_proc_address for WebGL2 context (#2316)

C.Even 5 سال پیش
والد
کامیت
8c18906d97
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/glcontext_html5.cpp

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