Fix crash in image viewer since it doesn't go through ReadLogInit()

This commit is contained in:
baldurk
2015-02-09 10:58:52 +00:00
parent 2513eabb17
commit 065acf8ac9
+1 -1
View File
@@ -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();