mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-25 16:06:31 +00:00
Fix bad index in comparison
This commit is contained in:
@@ -287,7 +287,7 @@ bool Operand::sameResource(const Operand &o) const
|
||||
if(indices.size() < 1 || o.indices.size() < 1)
|
||||
return false;
|
||||
|
||||
return indices[0] == indices[1];
|
||||
return indices[0] == indices[0];
|
||||
}
|
||||
|
||||
void Program::FetchTypeVersion()
|
||||
|
||||
Reference in New Issue
Block a user