We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4079519 commit 2618421Copy full SHA for 2618421
src/Include/xrRender/FactoryPtr.h
@@ -6,11 +6,11 @@
6
#include "Include/xrAPI/xrAPI.h"
7
8
#define FACTORY_PTR_INSTANCIATE(Class) \
9
- inline void FactoryPtr<I##Class>::CreateObject(void) \
+ template<> inline void FactoryPtr<I##Class>::CreateObject(void) \
10
{ \
11
m_pObject = GlobalEnv.RenderFactory->Create##Class(); \
12
} \
13
- inline void FactoryPtr<I##Class>::DestroyObject(void) \
+ template<> inline void FactoryPtr<I##Class>::DestroyObject(void) \
14
15
GlobalEnv.RenderFactory->Destroy##Class(m_pObject); \
16
m_pObject = NULL; \
0 commit comments