Skip to content

Commit 41e1ffe

Browse files
author
dashodanger
committed
Rendering/CVAR fixes
1 parent 0beb6fe commit 41e1ffe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source_files/edge/r_render.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1595,7 +1595,7 @@ static void ComputeWallTiles(Seg *seg, DrawFloor *dfloor, int sidenum, float f_m
15951595
}
15961596

15971597
// hack for "see-through" lines (same sector on both sides)
1598-
if (sec != other)
1598+
if (sec == other)
15991599
{
16001600
f2 = HMM_MAX(f2, f1);
16011601
c2 = HMM_MIN(c2, c1);

source_files/edge/r_units.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#include "r_texgl.h"
4343
#include "sokol_color.h"
4444

45-
EDGE_DEFINE_CONSOLE_VARIABLE(renderer_dumb_sky, "0", kConsoleVariableFlagNone)
45+
EDGE_DEFINE_CONSOLE_VARIABLE(renderer_dumb_sky, "0", kConsoleVariableFlagArchive)
4646
#ifdef APPLE_SILICON
4747
EDGE_DEFINE_CONSOLE_VARIABLE(renderer_dumb_clamp, "1", kConsoleVariableFlagNone)
4848
#else

0 commit comments

Comments
 (0)