[Misc] (Texture): Start to support GL_DEPTH_COMPONENT32...

This commit is contained in:
BZLZHH
2025-05-17 00:03:00 +08:00
parent e3a25c6274
commit 71df4bae3c
3 changed files with 8 additions and 8 deletions
@@ -37,7 +37,7 @@ namespace MG_GL::GL {
if (outInternalFormat)
*outInternalFormat = GL_DEPTH_COMPONENT32F;
if (outType)
*outType = GL_UNSIGNED_INT;
*outType = GL_FLOAT;
if (outFormat)
*outFormat = format;
break;