Skip to content

Commit

Permalink
Small refactor texture loading
Browse files Browse the repository at this point in the history
Co-Authored-By: eagleivg <[email protected]>
  • Loading branch information
Xottab-DUTY and eagleivg committed Nov 9, 2018
1 parent f0fcf99 commit e81be6e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Layers/xrRenderGL/glSH_Texture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ void CTexture::Load()

flags.bUser = false;
flags.MemoryUsage = 0;
if (0 == *cName) return;
if (nullptr == *cName)
return;
if (0 == xr_stricmp(*cName, "$null")) return;
if (nullptr != strstr(*cName, "$user$"))
{
Expand Down

0 comments on commit e81be6e

Please sign in to comment.