Fix mapping GL_INT_2_10_10_10_REV and GL_UNSIGNED_INT_2_10_10_10_REV

This commit is contained in:
nikplu
2023-05-15 14:12:20 +01:00
committed by Baldur Karlsson
parent 6817d07d5e
commit d57c1068bd
+2 -2
View File
@@ -964,12 +964,12 @@ void GLReplay::SavePipelineState(uint32_t eventId)
case eGL_INT_2_10_10_10_REV:
fmt.type = ResourceFormatType::R10G10B10A2;
fmt.compCount = 4;
fmt.compType = CompType::UInt;
fmt.compType = CompType::SInt;
break;
case eGL_UNSIGNED_INT_2_10_10_10_REV:
fmt.type = ResourceFormatType::R10G10B10A2;
fmt.compCount = 4;
fmt.compType = CompType::SInt;
fmt.compType = CompType::UInt;
break;
case eGL_UNSIGNED_INT_10F_11F_11F_REV:
fmt.type = ResourceFormatType::R11G11B10;