mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Fix check that was precisely backwards. Caught by unit tests!
This commit is contained in:
@@ -639,7 +639,7 @@ public:
|
||||
SerialiserFlags flags = SerialiserFlags::NoFlags)
|
||||
{
|
||||
std::string str;
|
||||
if(IsReading())
|
||||
if(IsWriting())
|
||||
str = el;
|
||||
Serialise(name, str, flags);
|
||||
if(str.length() >= N)
|
||||
|
||||
Reference in New Issue
Block a user