Skip to content

Commit 7e21269

Browse files
tamlin-mikeXottab-DUTY
authored andcommitted
Teach CTextureDescrMngr bool instead of BOOL.
1 parent bd31055 commit 7e21269

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Layers/xrRender/TextureDescrManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ float CTextureDescrMngr::GetMaterial(const shared_str& tex_name) const
171171
return 1.0f;
172172
}
173173

174-
void CTextureDescrMngr::GetTextureUsage(const shared_str& tex_name, BOOL& bDiffuse, BOOL& bBump) const
174+
void CTextureDescrMngr::GetTextureUsage(const shared_str& tex_name, bool& bDiffuse, bool& bBump) const
175175
{
176176
map_TD::const_iterator I = m_texture_details.find(tex_name);
177177
if (I != m_texture_details.end())

src/Layers/xrRender/TextureDescrManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class CTextureDescrMngr
4444
public:
4545
shared_str GetBumpName(const shared_str& tex_name) const;
4646
float GetMaterial(const shared_str& tex_name) const;
47-
void GetTextureUsage(const shared_str& tex_name, BOOL& bDiffuse, BOOL& bBump) const;
47+
void GetTextureUsage(const shared_str& tex_name, bool& bDiffuse, bool& bBump) const;
4848
BOOL GetDetailTexture(const shared_str& tex_name, LPCSTR& res, R_constant_setup*& CS) const;
4949
BOOL UseSteepParallax(const shared_str& tex_name) const;
5050
};

0 commit comments

Comments
 (0)