mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-06 19:38:15 +00:00
Corrected issue #1027
This commit is contained in:
@@ -1299,8 +1299,10 @@ void rlTextureParameters(unsigned int id, int param, int value)
|
|||||||
{
|
{
|
||||||
if (value == RL_WRAP_MIRROR_CLAMP)
|
if (value == RL_WRAP_MIRROR_CLAMP)
|
||||||
{
|
{
|
||||||
|
#if !defined(GRAPHICS_API_OPENGL_11)
|
||||||
if (texMirrorClampSupported) glTexParameteri(GL_TEXTURE_2D, param, value);
|
if (texMirrorClampSupported) glTexParameteri(GL_TEXTURE_2D, param, value);
|
||||||
else TraceLog(LOG_WARNING, "Clamp mirror wrap mode not supported");
|
else TraceLog(LOG_WARNING, "Clamp mirror wrap mode not supported");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else glTexParameteri(GL_TEXTURE_2D, param, value);
|
else glTexParameteri(GL_TEXTURE_2D, param, value);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user