mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +01:00
@@ -2968,12 +2968,14 @@ namespace bgfx { namespace gl
|
||||
|| s_extension[Extension::EXT_shadow_samplers].m_supported
|
||||
;
|
||||
|
||||
GLint numFormats = 0;
|
||||
GL_CHECK(glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &numFormats) );
|
||||
m_programBinarySupport = !BX_ENABLED(BX_PLATFORM_EMSCRIPTEN)
|
||||
&& (m_gles3
|
||||
|| s_extension[Extension::ARB_get_program_binary].m_supported
|
||||
|| s_extension[Extension::OES_get_program_binary].m_supported
|
||||
|| s_extension[Extension::IMG_shader_binary ].m_supported
|
||||
);
|
||||
) && numFormats > 0;
|
||||
|
||||
m_textureSwizzleSupport = false
|
||||
|| s_extension[Extension::ARB_texture_swizzle].m_supported
|
||||
|
||||
Reference in New Issue
Block a user