@@ -35,7 +35,7 @@ class ECORE_API CResourceManager
3535 DEFINE_MAP_PRED (const char *,CRT*, map_RT, map_RTIt, str_pred);
3636 // DX10 cut DEFINE_MAP_PRED(const char*,CRTC*, map_RTC, map_RTCIt, str_pred);
3737 DEFINE_MAP_PRED (const char *,SVS*, map_VS, map_VSIt, str_pred);
38- #if defined(USE_DX10) || defined(USE_DX11)
38+ #if defined(USE_DX10) || defined(USE_DX11) || defined(USE_OGL)
3939 DEFINE_MAP_PRED (const char *,SGS*, map_GS, map_GSIt, str_pred);
4040#endif // USE_DX10
4141#ifdef USE_DX11
@@ -56,7 +56,7 @@ class ECORE_API CResourceManager
5656 // DX10 cut map_RTC m_rtargets_c;
5757 map_VS m_vs;
5858 map_PS m_ps;
59- #if defined(USE_DX10) || defined(USE_DX11)
59+ #if defined(USE_DX10) || defined(USE_DX11) || defined(USE_OGL)
6060 map_GS m_gs;
6161#endif // USE_DX10
6262 map_TD m_td;
@@ -145,7 +145,7 @@ class ECORE_API CResourceManager
145145
146146 // DX10 cut CRTC* _CreateRTC (LPCSTR Name, u32 size, D3DFORMAT f);
147147 // DX10 cut void _DeleteRTC (const CRTC* RT );
148- #if defined(USE_DX10) || defined(USE_DX11)
148+ #if defined(USE_DX10) || defined(USE_DX11) || defined(USE_OGL)
149149 SGS* _CreateGS (LPCSTR Name);
150150 void _DeleteGS (const SGS* GS );
151151#endif // USE_DX10
@@ -174,6 +174,9 @@ class ECORE_API CResourceManager
174174 SState* _CreateState (SimulatorStates& Code);
175175 void _DeleteState (const SState* SB);
176176
177+ #ifdef USE_OGL
178+ SDeclaration* _CreateDecl (u32 FVF);
179+ #endif // USE_OGL
177180 SDeclaration* _CreateDecl (D3DVERTEXELEMENT9* dcl);
178181 void _DeleteDecl (const SDeclaration* dcl);
179182
0 commit comments