Skip to content

Commit

Permalink
xrRender: fix load detail textures
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Nov 6, 2018
1 parent af4959a commit 17015f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Layers/xrRender/uber_deffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ void uber_deffer(CBlender_Compile& C, bool hq, LPCSTR _vspec, LPCSTR _pspec, BOO
strconcat(sizeof(vs), vs, "deffer_", _vspec, lmap ? "_lmh" : "");
strconcat(sizeof(ps), ps, "deffer_", _pspec, lmap ? "_lmh" : "");
xr_strcpy(dt, sizeof(dt), _detail_replace ? _detail_replace : (C.detail_texture ? C.detail_texture : ""));
#ifdef LINUX
while (char* sep = strchr(dt, '\\')) *sep = '/';
#endif

// detect detail bump
string256 texDetailBump = {'\0'};
Expand Down

0 comments on commit 17015f1

Please sign in to comment.