[Feat] (MG_Util/BackendLoaders): check for GL_EXT_texture_norm16

This commit is contained in:
2026-01-10 12:54:35 +08:00
parent cc7e95c84d
commit db2806a12a
2 changed files with 4 additions and 0 deletions
@@ -513,6 +513,9 @@ namespace MobileGL {
if (std::strcmp(extension, "GL_EXT_buffer_storage") == 0) {
MG_External::GLES::g_glesCaps.hasPersistentMapping = true;
}
if (std::strcmp(extension, "GL_EXT_texture_norm16") == 0) {
MG_External::GLES::g_glesCaps.hasNorm16Texture = true;
}
}
}
}
@@ -557,6 +557,7 @@ namespace MobileGL {
struct GLESCaps {
Version version;
Bool hasPersistentMapping;
Bool hasNorm16Texture;
};
} // namespace Caps