mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 02:32:18 +00:00
Fixed compiling on Linux without MOC
This commit is contained in:
parent
0921667151
commit
d34eaf0b09
2 changed files with 5 additions and 5 deletions
|
@ -2,4 +2,4 @@ cd ..
|
|||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DONATIVE=ON -DFFMPEG=OFF -DBINKDEC=ON ../neo
|
||||
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DONATIVE=ON -DFFMPEG=OFF -DBINKDEC=ON -DUSE_PRECOMPILED_HEADERS=OFF -DUSE_INTRINSICS_SSE=OFF ../neo
|
||||
|
|
|
@ -989,12 +989,12 @@ public:
|
|||
// the rpEnableSkinning render parm should only be set for vertex programs that use it
|
||||
bool ShaderHasOptionalSkinning() const
|
||||
{
|
||||
#if defined( USE_NVRHI )
|
||||
//#if defined( USE_NVRHI )
|
||||
// FIXME
|
||||
return false;
|
||||
#else
|
||||
return renderProgs[current].optionalSkinning;
|
||||
#endif
|
||||
//#else
|
||||
// return renderProgs[current].optionalSkinning;
|
||||
//#endif
|
||||
}
|
||||
|
||||
// unbind the currently bound render program
|
||||
|
|
Loading…
Reference in a new issue