diff --git a/examples/opengl/OpenGL.cpp b/examples/opengl/OpenGL.cpp index f3d451da2..7678e162b 100644 --- a/examples/opengl/OpenGL.cpp +++ b/examples/opengl/OpenGL.cpp @@ -221,6 +221,9 @@ int main() // We simply reload the texture to disable mipmapping texture = sf::Texture::loadFromFile(resourcesDir() / "logo.png").value(); + // Rebind the texture + sf::Texture::bind(&texture); + mipmapEnabled = false; } else if (texture.generateMipmap())