mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-19 04:56:32 +00:00
Suppress error for eGL_UNSIGNED_BYTE and eGL_BGRA
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user