- fix shaders only being loaded from the engine pk3
This commit is contained in:
parent
6be5769746
commit
aa84f7b3e6
3 changed files with 18 additions and 9 deletions
|
|
@ -363,7 +363,7 @@ void VkPostprocess::CompileEffectShaders()
|
|||
|
||||
FString VkPostprocess::LoadShaderCode(const FString &lumpName, const FString &defines, int version)
|
||||
{
|
||||
int lump = Wads.CheckNumForFullName(lumpName, 0);
|
||||
int lump = Wads.CheckNumForFullName(lumpName);
|
||||
if (lump == -1) I_FatalError("Unable to load '%s'", lumpName.GetChars());
|
||||
FString code = Wads.ReadLump(lump).GetString().GetChars();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue