Fixed compiling on Linux without MOC

This commit is contained in:
Robert Beckebans 2024-08-27 13:28:43 +02:00
parent 0921667151
commit d34eaf0b09
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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