mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-18 20:46:31 +00:00
Format null pointers as 'null' rather than 'zeroinitializer'
This commit is contained in:
@@ -1888,7 +1888,10 @@ rdcstr Constant::toString(bool withType) const
|
||||
}
|
||||
else if(isNULL())
|
||||
{
|
||||
ret += "zeroinitializer";
|
||||
if(type->type == Type::Pointer)
|
||||
ret += "null";
|
||||
else
|
||||
ret += "zeroinitializer";
|
||||
}
|
||||
else if(type->type == Type::Vector)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user