mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-19 08:12:14 +00:00
Fix compileshaders.cmake to reference USE_VULKAN, fix missing override warning in Model_local.h
This commit is contained in:
parent
3f8bc0a568
commit
4dc2a8ca12
2 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ function(compile_shaders)
|
|||
--compiler ${FXC_EXECUTABLE})
|
||||
endif()
|
||||
|
||||
if (params_SPIRV_DXC AND USE_NVRHI_VULKAN)
|
||||
if (params_SPIRV_DXC AND USE_VULKAN)
|
||||
if (NOT DXC_SPIRV_EXECUTABLE)
|
||||
message(FATAL_ERROR "compile_shaders: DXC for SPIR-V not found --- please set DXC_SPIRV_EXECUTABLE to the full path to the DXC binary")
|
||||
endif()
|
||||
|
|
|
@ -218,7 +218,7 @@ class idRenderModelMD5 : public idRenderModelStatic
|
|||
{
|
||||
friend class idRenderModelGLTF;
|
||||
public:
|
||||
void InitFromFile( const char* fileName, const idImportOptions* options );
|
||||
void InitFromFile( const char* fileName, const idImportOptions* options ) override;
|
||||
bool LoadBinaryModel( idFile* file, const ID_TIME_T sourceTimeStamp ) override;
|
||||
void WriteBinaryModel( idFile* file, ID_TIME_T* _timeStamp = NULL ) const override;
|
||||
dynamicModel_t IsDynamicModel() const override;
|
||||
|
|
Loading…
Reference in a new issue