mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-08 04:08:32 +09:00
[Feat] (MG_Util/BackendLoaders): check for GL_EXT_texture_norm16
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user