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-14 21:31:22 +01:00
1 parent 53dfa07237
commit 02fb70e2ae
1 file changed
+5
+5
View File
@@ -1854,6 +1854,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();