mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Use richtext representation for ResourceId when converting to string
This commit is contained in:
@@ -48,7 +48,7 @@ static PyObject *resid_str(PyObject *resid)
|
||||
id = (unsigned long long *)resptr;
|
||||
static_assert(sizeof(unsigned long long) == sizeof(ResourceId), "Wrong size");
|
||||
|
||||
return PyUnicode_FromFormat("<ResourceId %llu>", *id);
|
||||
return PyUnicode_FromFormat("ResourceId::%llu", *id);
|
||||
fail:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user