Suppress error for eGL_UNSIGNED_BYTE and eGL_BGRA

This commit is contained in:
baldurk
2017-11-08 18:24:49 +00:00
parent 7fa3ec51c9
commit e9c4de1dd5
+2 -4
View File
@@ -1007,13 +1007,11 @@ void GLReplay::SavePipelineState()
fmt.type = ResourceFormatType::R10G10B10A2;
fmt.compType = type == eGL_UNSIGNED_INT_2_10_10_10_REV ? CompType::UInt : CompType::SInt;
}
else
else if(type != eGL_UNSIGNED_BYTE)
{
// haven't checked the other cases work properly
RDCERR("Unexpected BGRA type");
}
// haven't checked the other cases work properly
RDCASSERT(type == eGL_UNSIGNED_BYTE);
}
pipe.m_VtxIn.attributes[i].Format = fmt;