Explorar el Código

Corrected issue #1027

pull/1032/head
raysan5 hace 6 años
padre
commit
3d936061c8
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      src/rlgl.h

+ 2
- 0
src/rlgl.h Ver fichero

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

Cargando…
Cancelar
Guardar