Source/ThirdParty/ANGLE/src/libGLESv2/Texture.cpp
bool Texture::setWrapS(GLenum wrap)
{
    switch (wrap)
    {
      case GL_REPEAT:
      case GL_CLAMP_TO_EDGE:
      case GL_MIRRORED_REPEAT:
        {
            if (mWrapS != wrap)
            {
                mWrapS = wrap;
                mDirty = true;
            }
            return true;
        }
      default:
        return false;
    }
}
// Returns true on successful wrap state update (valid enum parameter)
Returns true on successful wrap state update (valid enum parameter)
Returns true on successful wrap state update ( valid enum parameter )
bool Texture::setWrapS(GLenum wrap)
{
    switch (wrap)
    {
      case GL_REPEAT:
      case GL_CLAMP_TO_EDGE:
      case GL_MIRRORED_REPEAT:
        {
            if (mWrapS != wrap)
            {
                mWrapS = wrap;
                mDirty = true;
            }
            return true;
        }
      default:
        return false;
    }
}
bool Texture :: setWrapS ( GLenum wrap ) { switch ( wrap ) { case GL_REPEAT : case GL_CLAMP_TO_EDGE : case GL_MIRRORED_REPEAT : { if ( mWrapS != wrap ) { mWrapS = wrap ; mDirty = true ; } return true ; } default : return false ; } }
Returns true on successful wrap state update (valid enum parameter)
Returns true on successful wrap state update ( valid enum parameter )