mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 21:58:31 +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) {
|
if (std::strcmp(extension, "GL_EXT_buffer_storage") == 0) {
|
||||||
MG_External::GLES::g_glesCaps.hasPersistentMapping = true;
|
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 {
|
struct GLESCaps {
|
||||||
Version version;
|
Version version;
|
||||||
Bool hasPersistentMapping;
|
Bool hasPersistentMapping;
|
||||||
|
Bool hasNorm16Texture;
|
||||||
};
|
};
|
||||||
} // namespace Caps
|
} // namespace Caps
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user