Skip to content

Commit 6ac703d

Browse files
eagleivgq4a
authored andcommitted
xrRender: rename linux dll to xrRender_GL, fix windows build, fixed linux error while dll loading
1 parent cb86246 commit 6ac703d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Layers/xrRenderPC_GL/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
project(xrRenderPC_GL)
1+
project(xrRender_GL)
22

33
list(APPEND DIRS
44
"."

src/xrCore/ModuleLookup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void* ModuleHandle::Open(pcstr moduleName)
2323
{
2424
if (IsLoaded())
2525
Close();
26-
26+
2727
Log("Loading DLL:", moduleName);
2828

2929
#ifdef WINDOWS
@@ -36,7 +36,7 @@ void* ModuleHandle::Open(pcstr moduleName)
3636
#ifdef WINDOWS
3737
Msg("! Failed to load DLL: 0x%d", GetLastError());
3838
#elif defined(LINUX)
39-
Msg("! Failed to load DLL: 0x%d", dlerror());
39+
Msg("! Failed to load DLL: %s", dlerror());
4040
#endif
4141
}
4242

src/xrEngine/xrSASH.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ void xrSASH::GetOption(pcstr pszOptionName)
644644
else if (pToken)
645645
{
646646
IConsole_Command::TStatus stat;
647-
pToken->Status(stat);
647+
pToken->getStatus(stat);
648648
Val.Enum = stat;
649649
oaAddOptionValue(pszOptionName, OA_TYPE_ENUM, &Val);
650650
}

0 commit comments

Comments
 (0)