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
11
11
Module (pcstr moduleName, bool log = true );
12
12
~Module ();
13
13
14
- void * open (pcstr moduleName, bool log = true );;
14
+ void * open (pcstr moduleName, bool log = true );
15
15
void close ();
16
16
17
17
bool exist () const ;
Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ void CEngineAPI::InitializeNotDedicated()
100
100
#endif // DEDICATED_SERVER
101
101
102
102
void CEngineAPI::InitializeRenderers ()
103
- {
104
-
103
+ {
105
104
#ifndef DEDICATED_SERVER
106
105
InitializeNotDedicated ();
107
106
#endif // DEDICATED_SERVER
@@ -172,10 +171,11 @@ void CEngineAPI::Destroy(void)
172
171
XRC.r_clear_compact ();
173
172
}
174
173
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 ();
179
179
};
180
180
181
181
void CEngineAPI::CreateRendererList ()
You can’t perform that action at this time.
0 commit comments