Changes without CLion mess (#916)

This commit is contained in:
Reece Mackie 2019-07-27 10:53:00 +01:00 committed by Ray
parent 814952c01d
commit e44eae3cd5
1 changed files with 7 additions and 2 deletions

View File

@ -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;