Skip to content

Commit

Permalink
xrRenderPC_GL: remove forgoten #ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Nov 9, 2018
1 parent e81be6e commit 5ab97f9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Layers/xrRenderPC_GL/rgl_shaders.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ static inline void load_includes(LPCSTR pSrcData, UINT SrcDataLen, xr_vector<cha
// Create path to included shader
strconcat(sizeof path, path, GEnv.Render->getShaderPath(), fn);
FS.update_path(path, "$game_shaders$", path);
#if defined(WINDOWS)
while (char* sep = strchr(path, '/'))
*sep = '\\';
#endif

// Open and read file, recursively load includes
IReader* R = FS.r_open(path);
Expand Down

0 comments on commit 5ab97f9

Please sign in to comment.