summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp b/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp
index 9980d69f..d4af6807 100644
--- a/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/GLContextState.cpp
@@ -665,7 +665,7 @@ void GLContextState::SetBlendState(const BlendStateDesc& BSDsc, Uint32 SampleMas
bool bEnableBlend = false;
if (BSDsc.IndependentBlendEnable)
{
- for (int i = 0; i < MAX_RENDER_TARGETS; ++i)
+ for (int i = 0; i < static_cast<int>(MAX_RENDER_TARGETS); ++i)
{
const auto& RT = BSDsc.RenderTargets[i];
if (RT.BlendEnable)
@@ -707,7 +707,7 @@ void GLContextState::SetBlendState(const BlendStateDesc& BSDsc, Uint32 SampleMas
if (BSDsc.IndependentBlendEnable)
{
- for (int i = 0; i < MAX_RENDER_TARGETS; ++i)
+ for (int i = 0; i < static_cast<int>(MAX_RENDER_TARGETS); ++i)
{
const auto& RT = BSDsc.RenderTargets[i];