From 6a7a05e862d25fe30629720fe92da7146db79860 Mon Sep 17 00:00:00 2001 From: nitrocaster Date: Mon, 25 Jan 2016 15:37:48 +0300 Subject: [PATCH] Eliminate C4706 warnings. --- src/xrEngine/EngineAPI.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/xrEngine/EngineAPI.cpp b/src/xrEngine/EngineAPI.cpp index 67a6983e819..49f7d7ae115 100644 --- a/src/xrEngine/EngineAPI.cpp +++ b/src/xrEngine/EngineAPI.cpp @@ -279,18 +279,18 @@ void CEngineAPI::CreateRendererList() bool proceed = true; xr_vector tmp; tmp.push_back("renderer_r1"); - if (proceed && (proceed = bSupports_r2)) + if (proceed &= bSupports_r2, proceed) { tmp.push_back("renderer_r2a"); tmp.push_back("renderer_r2"); } - if (proceed && (proceed = bSupports_r2_5)) + if (proceed &= bSupports_r2_5, proceed) tmp.push_back("renderer_r2.5"); - if (proceed && (proceed = bSupports_gl)) + if (proceed &= bSupports_gl, proceed) tmp.push_back("renderer_gl"); - if (proceed && (proceed = bSupports_r3)) + if (proceed &= bSupports_r3, proceed) tmp.push_back("renderer_r3"); - if (proceed && (proceed = bSupports_r4)) + if (proceed &= bSupports_r4, proceed) tmp.push_back("renderer_r4"); u32 _cnt = tmp.size() + 1; vid_quality_token = xr_alloc(_cnt);