Add optional output file for qrenderdoc unit tests

This commit is contained in:
baldurk
2020-06-11 20:06:43 +01:00
parent d1f4a47cd5
commit 36d74b32b9
6 changed files with 47 additions and 31 deletions
+2 -2
View File
@@ -489,7 +489,7 @@ extern "C" PyObject *RENDERDOC_DumpObject(PyObject *obj)
static swig_type_info **interfaceCheckTypes;
static size_t interfaceCheckNumTypes = 0;
bool CheckCoreInterface()
bool CheckCoreInterface(rdcstr &log)
{
#if defined(RELEASE)
return false;
@@ -497,7 +497,7 @@ extern "C" PyObject *RENDERDOC_DumpObject(PyObject *obj)
if(interfaceCheckNumTypes == 0)
return false;
return check_interface(interfaceCheckTypes, interfaceCheckNumTypes);
return check_interface(log, interfaceCheckTypes, interfaceCheckNumTypes);
#endif
}
%}