Corrected issue #1027
This commit is contained in:
parent
95f3b6e18e
commit
3d936061c8
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue