Skip to content

Commit

Permalink
Rendering/CVAR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dashodanger committed Nov 7, 2024
1 parent 0beb6fe commit 41e1ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source_files/edge/r_render.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ static void ComputeWallTiles(Seg *seg, DrawFloor *dfloor, int sidenum, float f_m
}

// hack for "see-through" lines (same sector on both sides)
if (sec != other)
if (sec == other)
{
f2 = HMM_MAX(f2, f1);
c2 = HMM_MIN(c2, c1);
Expand Down
2 changes: 1 addition & 1 deletion source_files/edge/r_units.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
#include "r_texgl.h"
#include "sokol_color.h"

EDGE_DEFINE_CONSOLE_VARIABLE(renderer_dumb_sky, "0", kConsoleVariableFlagNone)
EDGE_DEFINE_CONSOLE_VARIABLE(renderer_dumb_sky, "0", kConsoleVariableFlagArchive)
#ifdef APPLE_SILICON
EDGE_DEFINE_CONSOLE_VARIABLE(renderer_dumb_clamp, "1", kConsoleVariableFlagNone)
#else
Expand Down

0 comments on commit 41e1ffe

Please sign in to comment.