Corrected issue #1027

This commit is contained in:
raysan5 2019-12-04 11:05:46 +01:00
parent 95f3b6e18e
commit 3d936061c8

View File

@ -1299,8 +1299,10 @@ void rlTextureParameters(unsigned int id, int param, int value)
{
if (value == RL_WRAP_MIRROR_CLAMP)
{
#if !defined(GRAPHICS_API_OPENGL_11)
if (texMirrorClampSupported) glTexParameteri(GL_TEXTURE_2D, param, value);
else TraceLog(LOG_WARNING, "Clamp mirror wrap mode not supported");
#endif
}
else glTexParameteri(GL_TEXTURE_2D, param, value);