Skip to content

Commit

Permalink
xrRenderGL: Replace '\'->'/' when loading textures
Browse files Browse the repository at this point in the history
  • Loading branch information
Zegeri committed Oct 11, 2018
1 parent 13d0b2c commit 29348f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Layers/xrRenderGL/glSH_Texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ void CTexture::Load()

// Check for OGM
string_path fn;
#ifdef LINUX
while (char* sep = strchr(*cName, '\\')) *sep = '/';
#endif
if (FS.exist(fn, "$game_textures$", *cName, ".ogm"))
{
// AVI
Expand Down

0 comments on commit 29348f1

Please sign in to comment.