Skip to content

Commit 33fdef2

Browse files
tamlin-mikeXottab-DUTY
authored andcommitted
Teach Vlender_Recorder about bool instead of BOOL.
1 parent 7e21269 commit 33fdef2

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/Layers/xrRender/blenders/Blender_Recorder.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ void CBlender_Compile::_cpp_Compile(ShaderElement* _SH)
6464
base = *lst[id];
6565
}
6666
if (!RImplementation.Resources->m_textures_description.GetDetailTexture(base, detail_texture, detail_scaler))
67-
bDetail = FALSE;
67+
bDetail = false;
6868
}
6969
else
7070
{
@@ -86,17 +86,17 @@ void CBlender_Compile::_cpp_Compile(ShaderElement* _SH)
8686
// Igor
8787
////////////////////
8888

89-
bDetail = FALSE;
89+
bDetail = false;
9090
}
9191

9292
// Validate for R1 or R2
93-
bDetail_Diffuse = FALSE;
94-
bDetail_Bump = FALSE;
93+
bDetail_Diffuse = false;
94+
bDetail_Bump = false;
9595

9696
#ifndef _EDITOR
9797
#if RENDER == R_R1
9898
if (RImplementation.o.no_detail_textures)
99-
bDetail = FALSE;
99+
bDetail = false;
100100
#endif
101101
#endif
102102

src/Layers/xrRender/blenders/Blender_Recorder.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ class CBlender_Compile
2020
LPCSTR detail_texture;
2121
R_constant_setup* detail_scaler;
2222

23-
BOOL bEditor;
24-
BOOL bDetail;
25-
BOOL bDetail_Diffuse;
26-
BOOL bDetail_Bump;
23+
bool bEditor;
24+
bool bDetail;
25+
bool bDetail_Diffuse;
26+
bool bDetail_Bump;
2727
BOOL bUseSteepParallax;
2828
int iElement;
2929

0 commit comments

Comments
 (0)