mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix crash in image viewer since it doesn't go through ReadLogInit()
This commit is contained in:
@@ -223,7 +223,7 @@ public:
|
||||
|
||||
WrappedID3D11Device(ID3D11Device* realDevice, D3D11InitParams *params);
|
||||
void SetLogFile(const char *logfile);
|
||||
void SetLogVersion(uint32_t fileversion) { m_InitParams.SerialiseVersion = fileversion; }
|
||||
void SetLogVersion(uint32_t fileversion) { LazyInit(); m_InitParams.SerialiseVersion = fileversion; }
|
||||
uint32_t GetLogVersion() { return m_InitParams.SerialiseVersion; }
|
||||
virtual ~WrappedID3D11Device();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user