[Chore] (MG_Impl/RenderState, MG_State/RenderState): more logs

This commit is contained in:
2025-12-29 11:10:38 +08:00
parent 45276bbb7c
commit e886a93a18
2 changed files with 2 additions and 0 deletions
@@ -79,6 +79,7 @@ namespace MobileGL {
}
void PixelStorei_State(GLenum pname, GLint param) {
MGLOG_D("%s: %s, ...", __func__, MG_Util::ConvertGLEnumToString(pname).c_str());
PixelStoreParam pixelStoreParam = MG_Util::ConvertGLEnumToPixelStoreParam(pname);
if (pixelStoreParam == PixelStoreParam::Unknown) {
MG_State::pGLContext->RecordError(
@@ -156,6 +156,7 @@ namespace MobileGL {
break;
case PixelStoreParam::UnpackSwapBytes:
m_unpackParameters.SwapBytes = value != 0;
MGLOG_D("%s: SwapBytes = %s", __func__, value ? "true" : "false");
break;
case PixelStoreParam::UnpackLsbFirst:
m_unpackParameters.LSBFirst = value != 0;