Skip to content

Commit

Permalink
Teach CTextureDescrMngr bool instead of BOOL.
Browse files Browse the repository at this point in the history
  • Loading branch information
tamlin-mike authored and Xottab-DUTY committed Aug 5, 2017
1 parent bd31055 commit 7e21269
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Layers/xrRender/TextureDescrManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ float CTextureDescrMngr::GetMaterial(const shared_str& tex_name) const
return 1.0f;
}

void CTextureDescrMngr::GetTextureUsage(const shared_str& tex_name, BOOL& bDiffuse, BOOL& bBump) const
void CTextureDescrMngr::GetTextureUsage(const shared_str& tex_name, bool& bDiffuse, bool& bBump) const
{
map_TD::const_iterator I = m_texture_details.find(tex_name);
if (I != m_texture_details.end())
Expand Down
2 changes: 1 addition & 1 deletion src/Layers/xrRender/TextureDescrManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class CTextureDescrMngr
public:
shared_str GetBumpName(const shared_str& tex_name) const;
float GetMaterial(const shared_str& tex_name) const;
void GetTextureUsage(const shared_str& tex_name, BOOL& bDiffuse, BOOL& bBump) const;
void GetTextureUsage(const shared_str& tex_name, bool& bDiffuse, bool& bBump) const;
BOOL GetDetailTexture(const shared_str& tex_name, LPCSTR& res, R_constant_setup*& CS) const;
BOOL UseSteepParallax(const shared_str& tex_name) const;
};
Expand Down

0 comments on commit 7e21269

Please sign in to comment.