Skip to content

Commit

Permalink
Teach Vlender_Recorder about 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 7e21269 commit 33fdef2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions src/Layers/xrRender/blenders/Blender_Recorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void CBlender_Compile::_cpp_Compile(ShaderElement* _SH)
base = *lst[id];
}
if (!RImplementation.Resources->m_textures_description.GetDetailTexture(base, detail_texture, detail_scaler))
bDetail = FALSE;
bDetail = false;
}
else
{
Expand All @@ -86,17 +86,17 @@ void CBlender_Compile::_cpp_Compile(ShaderElement* _SH)
// Igor
////////////////////

bDetail = FALSE;
bDetail = false;
}

// Validate for R1 or R2
bDetail_Diffuse = FALSE;
bDetail_Bump = FALSE;
bDetail_Diffuse = false;
bDetail_Bump = false;

#ifndef _EDITOR
#if RENDER == R_R1
if (RImplementation.o.no_detail_textures)
bDetail = FALSE;
bDetail = false;
#endif
#endif

Expand Down
8 changes: 4 additions & 4 deletions src/Layers/xrRender/blenders/Blender_Recorder.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ class CBlender_Compile
LPCSTR detail_texture;
R_constant_setup* detail_scaler;

BOOL bEditor;
BOOL bDetail;
BOOL bDetail_Diffuse;
BOOL bDetail_Bump;
bool bEditor;
bool bDetail;
bool bDetail_Diffuse;
bool bDetail_Bump;
BOOL bUseSteepParallax;
int iElement;

Expand Down

0 comments on commit 33fdef2

Please sign in to comment.