Fixed compiler warnings.

This commit is contained in:
jeefo 2020-11-23 10:48:44 +03:00
commit b75e1b8a23
9 changed files with 22 additions and 17 deletions

View file

@ -571,7 +571,7 @@ bool Game::isSoftwareRenderer () {
}
// and on only windows version you can use software-render game. Linux, OSX always defaults to OpenGL
if (plat.win32) {
if (plat.win) {
return plat.hasModule ("sw");
}
return false;
@ -696,11 +696,11 @@ bool Game::loadCSBinary () {
}
StringArray libs;
if (plat.win32) {
if (plat.win) {
libs.push ("mp.dll");
libs.push ("cs.dll");
}
else if (plat.linux) {
else if (plat.nix) {
libs.push ("cs.so");
libs.push ("cs_i386.so");
}