mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Don't print error if struct stride is exactly matched
This commit is contained in:
@@ -937,7 +937,7 @@ QString BufferFormatter::DeclareStruct(QList<QString> &declaredStructs, const QS
|
||||
|
||||
if(requiredByteStride > structEnd)
|
||||
ret += lit(" ") + DeclarePaddingBytes(requiredByteStride - structEnd);
|
||||
else
|
||||
else if(requiredByteStride != structEnd)
|
||||
qCritical() << "Unexpected stride overlow at struct" << name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user