i

    iotsakp

    3 years ago
    @orangy try this in the texture creation code:
    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
    glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
    Does it help with the artifacts?
    orangy

    orangy

    3 years ago
    Nope. But it’s a tile, part of the texture. So texture loading shouldn’t be the case? May be srcRect is wrong…