Skip to content

Commit 17015f1

Browse files
committed
xrRender: fix load detail textures
1 parent af4959a commit 17015f1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Layers/xrRender/uber_deffer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ void uber_deffer(CBlender_Compile& C, bool hq, LPCSTR _vspec, LPCSTR _pspec, BOO
3030
strconcat(sizeof(vs), vs, "deffer_", _vspec, lmap ? "_lmh" : "");
3131
strconcat(sizeof(ps), ps, "deffer_", _pspec, lmap ? "_lmh" : "");
3232
xr_strcpy(dt, sizeof(dt), _detail_replace ? _detail_replace : (C.detail_texture ? C.detail_texture : ""));
33+
#ifdef LINUX
34+
while (char* sep = strchr(dt, '\\')) *sep = '/';
35+
#endif
3336

3437
// detect detail bump
3538
string256 texDetailBump = {'\0'};

0 commit comments

Comments
 (0)