Skip to content

Commit 6a7a05e

Browse files
author
nitrocaster
committed
Eliminate C4706 warnings.
1 parent 3f12bb1 commit 6a7a05e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/xrEngine/EngineAPI.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -279,18 +279,18 @@ void CEngineAPI::CreateRendererList()
279279
bool proceed = true;
280280
xr_vector<LPCSTR> tmp;
281281
tmp.push_back("renderer_r1");
282-
if (proceed && (proceed = bSupports_r2))
282+
if (proceed &= bSupports_r2, proceed)
283283
{
284284
tmp.push_back("renderer_r2a");
285285
tmp.push_back("renderer_r2");
286286
}
287-
if (proceed && (proceed = bSupports_r2_5))
287+
if (proceed &= bSupports_r2_5, proceed)
288288
tmp.push_back("renderer_r2.5");
289-
if (proceed && (proceed = bSupports_gl))
289+
if (proceed &= bSupports_gl, proceed)
290290
tmp.push_back("renderer_gl");
291-
if (proceed && (proceed = bSupports_r3))
291+
if (proceed &= bSupports_r3, proceed)
292292
tmp.push_back("renderer_r3");
293-
if (proceed && (proceed = bSupports_r4))
293+
if (proceed &= bSupports_r4, proceed)
294294
tmp.push_back("renderer_r4");
295295
u32 _cnt = tmp.size() + 1;
296296
vid_quality_token = xr_alloc<xr_token>(_cnt);

0 commit comments

Comments
 (0)