From e44eae3cd56c11cac479c77af102d5293c4633b6 Mon Sep 17 00:00:00 2001 From: Reece Mackie <20544390+Rover656@users.noreply.github.com> Date: Sat, 27 Jul 2019 10:53:00 +0100 Subject: [PATCH] Changes without CLion mess (#916) --- src/rlgl.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/rlgl.h b/src/rlgl.h index 1cea1d74..e67db9c7 100644 --- a/src/rlgl.h +++ b/src/rlgl.h @@ -1292,10 +1292,15 @@ void rlTextureParameters(unsigned int id, int param, int value) if (value == RL_WRAP_MIRROR_CLAMP) { #if !defined(GRAPHICS_API_OPENGL_11) - if (!texMirrorClampSupported) TraceLog(LOG_WARNING, "Clamp mirror wrap mode not supported"); + if (!texMirrorClampSupported) { + TraceLog(LOG_WARNING, "Clamp mirror wrap mode not supported"); + break; + } +#else + break; #endif } - else glTexParameteri(GL_TEXTURE_2D, param, value); + glTexParameteri(GL_TEXTURE_2D, param, value); } break; case RL_TEXTURE_MAG_FILTER: case RL_TEXTURE_MIN_FILTER: glTexParameteri(GL_TEXTURE_2D, param, value); break;