File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class XRCORE_API Module
1111 Module (pcstr moduleName, bool log = true );
1212 ~Module ();
1313
14- void * open (pcstr moduleName, bool log = true );;
14+ void * open (pcstr moduleName, bool log = true );
1515 void close ();
1616
1717 bool exist () const ;
Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ void CEngineAPI::InitializeNotDedicated()
100100#endif // DEDICATED_SERVER
101101
102102void CEngineAPI::InitializeRenderers ()
103- {
104-
103+ {
105104#ifndef DEDICATED_SERVER
106105 InitializeNotDedicated ();
107106#endif // DEDICATED_SERVER
@@ -172,10 +171,11 @@ void CEngineAPI::Destroy(void)
172171 XRC.r_clear_compact ();
173172}
174173
175- extern " C" {
176- typedef bool __cdecl SupportsAdvancedRendering (void );
177- typedef bool _declspec (dllexport) SupportsDX10Rendering();
178- typedef bool _declspec (dllexport) SupportsDX11Rendering();
174+ extern " C"
175+ {
176+ using SupportsAdvancedRendering = bool __cdecl ();
177+ using SupportsDX10Rendering = bool XR_EXPORT ();
178+ using SupportsDX11Rendering = bool XR_EXPORT ();
179179};
180180
181181void CEngineAPI::CreateRendererList ()
You can’t perform that action at this time.
0 commit comments