Skip to content

Commit

Permalink
xrRender: rename linux dll to xrRender_GL, fix windows build, fixed l…
Browse files Browse the repository at this point in the history
…inux error while dll loading
  • Loading branch information
eagleivg authored and q4a committed Sep 29, 2018
1 parent cb86246 commit 6ac703d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Layers/xrRenderPC_GL/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project(xrRenderPC_GL)
project(xrRender_GL)

list(APPEND DIRS
"."
Expand Down
4 changes: 2 additions & 2 deletions src/xrCore/ModuleLookup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ void* ModuleHandle::Open(pcstr moduleName)
{
if (IsLoaded())
Close();

Log("Loading DLL:", moduleName);

#ifdef WINDOWS
Expand All @@ -36,7 +36,7 @@ void* ModuleHandle::Open(pcstr moduleName)
#ifdef WINDOWS
Msg("! Failed to load DLL: 0x%d", GetLastError());
#elif defined(LINUX)
Msg("! Failed to load DLL: 0x%d", dlerror());
Msg("! Failed to load DLL: %s", dlerror());
#endif
}

Expand Down
2 changes: 1 addition & 1 deletion src/xrEngine/xrSASH.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ void xrSASH::GetOption(pcstr pszOptionName)
else if (pToken)
{
IConsole_Command::TStatus stat;
pToken->Status(stat);
pToken->getStatus(stat);
Val.Enum = stat;
oaAddOptionValue(pszOptionName, OA_TYPE_ENUM, &Val);
}
Expand Down

0 comments on commit 6ac703d

Please sign in to comment.