mirror of https://github.com/raysan5/raylib
Changes without CLion mess (#916)
This commit is contained in:
parent
814952c01d
commit
e44eae3cd5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue