Enabled GL extensions for asm.js.

This commit is contained in:
Branimir Karadžić 2014-03-18 22:50:24 -07:00
parent 22ed99aaa6
commit 03dc9225ed
2 changed files with 5 additions and 7 deletions

View file

@ -97,7 +97,7 @@
#endif // BGFX_CONFIG_DEBUG_NVPERFHUD
#ifndef BGFX_CONFIG_RENDERER_USE_EXTENSIONS
# define BGFX_CONFIG_RENDERER_USE_EXTENSIONS !BX_PLATFORM_EMSCRIPTEN
# define BGFX_CONFIG_RENDERER_USE_EXTENSIONS 1
#endif // BGFX_CONFIG_RENDERER_USE_EXTENSIONS
/// DX9 PIX markers

View file

@ -184,7 +184,6 @@ EGL_IMPORT
void GlContext::import()
{
# if !BX_PLATFORM_EMSCRIPTEN
BX_TRACE("Import:");
# if BX_PLATFORM_WINDOWS
void* glesv2 = bx::dlopen("libGLESv2.dll");
@ -209,7 +208,6 @@ EGL_IMPORT
}
# endif // BX_PLATFORM_
# include "glimports.h"
# endif // !BX_PLATFORM_EMSCRIPTEN
}
} // namespace bgfx