mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-07 22:26:28 +00:00
Don't findfile shader flatfiles
This commit is contained in:
parent
00cf5ff50f
commit
29185a0d2a
1 changed files with 1 additions and 8 deletions
|
|
@ -2507,14 +2507,7 @@ static boolean ReadShaderFlatFile(const char *filename, size_t *size, void *dest
|
|||
strncpy(filename_only_buf, filename_buf, 512);
|
||||
filename_only_buf[512 - 1] = '\0';
|
||||
sprintf(filename_buf, "%s/shaders/%s", srb2path, filename_only_buf);
|
||||
if (findfile(filename_buf, NULL, true))
|
||||
{
|
||||
if ((flat_handle = fopen(filename_buf, "rb")) == NULL)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else
|
||||
if ((flat_handle = fopen(filename_buf, "rb")) == NULL)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue