Maybe shaders will work on windows now (1)

This commit is contained in:
Kamay Xutax 2024-11-08 15:07:14 +01:00
parent c2524f42ea
commit 41ccf3e298
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 6cce7e2818a5c7b432f43d42515fe6039a5b8532 Subproject commit e5ac8b9a1438977b6998b558f6eb178bd044994c

View file

@ -2058,7 +2058,7 @@ bool CShaderManager::LoadAndCreateShaders_Dynamic( ShaderLookup_t &lookup, bool
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
FileHandle_t CShaderManager::OpenFileAndLoadHeader( const char *pFileName, ShaderHeader_t *pHeader ) FileHandle_t CShaderManager::OpenFileAndLoadHeader( const char *pFileName, ShaderHeader_t *pHeader )
{ {
FileHandle_t fp = g_pFullFileSystem->Open( pFileName, "rb", "MOD" ); FileHandle_t fp = g_pFullFileSystem->Open( pFileName, "rb" );
if ( fp == FILESYSTEM_INVALID_HANDLE ) if ( fp == FILESYSTEM_INVALID_HANDLE )
{ {
return FILESYSTEM_INVALID_HANDLE; return FILESYSTEM_INVALID_HANDLE;