Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Nov 11, 2017
1 parent d98408f commit bd34802
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/xrCore/ModuleLookup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class XRCORE_API Module
Module(pcstr moduleName, bool log = true);
~Module();

void* open(pcstr moduleName, bool log = true);;
void* open(pcstr moduleName, bool log = true);
void close();

bool exist() const;
Expand Down
12 changes: 6 additions & 6 deletions src/xrEngine/EngineAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,7 @@ void CEngineAPI::InitializeNotDedicated()
#endif // DEDICATED_SERVER

void CEngineAPI::InitializeRenderers()
{

{
#ifndef DEDICATED_SERVER
InitializeNotDedicated();
#endif // DEDICATED_SERVER
Expand Down Expand Up @@ -172,10 +171,11 @@ void CEngineAPI::Destroy(void)
XRC.r_clear_compact();
}

extern "C" {
typedef bool __cdecl SupportsAdvancedRendering(void);
typedef bool _declspec(dllexport) SupportsDX10Rendering();
typedef bool _declspec(dllexport) SupportsDX11Rendering();
extern "C"
{
using SupportsAdvancedRendering = bool __cdecl();
using SupportsDX10Rendering = bool XR_EXPORT();
using SupportsDX11Rendering = bool XR_EXPORT();
};

void CEngineAPI::CreateRendererList()
Expand Down

0 comments on commit bd34802

Please sign in to comment.