mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Convert ToStr, Serialise, and TypeName to use literal strings
This commit is contained in:
@@ -590,9 +590,8 @@ bool PythonContext::LoadExtension(ICaptureContext &ctx, const rdcstr &extension)
|
||||
|
||||
if(register_func)
|
||||
{
|
||||
QByteArray baseTypeName = TypeName<ICaptureContext>();
|
||||
baseTypeName += " *";
|
||||
PyObject *pyctx = PassObjectToPython(baseTypeName.data(), &ctx);
|
||||
PyObject *pyctx =
|
||||
PassObjectToPython((rdcstr(TypeName<ICaptureContext>()) + " *").c_str(), &ctx);
|
||||
|
||||
PyObject *retval = NULL;
|
||||
if(pyctx)
|
||||
|
||||
Reference in New Issue
Block a user