[Fix] (MG_Backend/DirectGLES): Handle more internal format.

This commit is contained in:
BZLZHH
2025-11-30 11:24:21 +08:00
parent fe6bd76cfa
commit 7a9cb2dafb
5 changed files with 112 additions and 35 deletions
@@ -3,10 +3,8 @@
namespace MobileGL {
namespace MG_State {
namespace GLState {
TextureObject2DCube::TextureObject2DCube(Uint externalIndex):
TextureObjectBase(TextureTarget::TextureCubeMap, externalIndex) {
}
TextureObject2DCube::TextureObject2DCube(Uint externalIndex)
: TextureObjectBase(TextureTarget::TextureCubeMap, externalIndex) {}
Uint TextureObject2DCube::GetMipmapLevelCount() const {
return m_textureStorage.GetLevelCount();