mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 16:50:44 +00:00
Better name for serialised element in optional object
This commit is contained in:
@@ -1123,7 +1123,7 @@ void SerialiseOptionalObject(Serialiser *ser, const char *name, T *&el)
|
||||
bool present;
|
||||
|
||||
present = el != NULL;
|
||||
ser->Serialise("present", present);
|
||||
ser->Serialise((string(name) + "Present").c_str(), present);
|
||||
if(present)
|
||||
{
|
||||
if(ser->IsReading())
|
||||
|
||||
Reference in New Issue
Block a user