disable ogl precaching on encore mode

noencore things need to be handled
for now just disable it until i figure out how to check for lineflags here
This commit is contained in:
Alug committed 2025-02-15 02:15:39 +01:00
1 parent 8cd636c213
commit 19dd5ddbae
1 file changed
+5
+5
View File
@@ -1647,6 +1647,11 @@ static void HWR_PrecacheLevel(void)
if (rendermode != render_opengl)
return;
// TODO: handle encoremode
// lines flagged with ML_TFERLINE should not be remapped, not sure how to properly check for that
if (encoremode)
return;
// Precache flats.
flatmemory = P_PrecacheHWRLevelFlats();