From 0704e242c0e97604fd8bd7011cd782cc865d2b55 Mon Sep 17 00:00:00 2001 From: laurentgom Date: Sat, 13 Jun 2009 07:57:42 +0000 Subject: [PATCH] Disabled smoothing on RenderImage's underlying images git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1136 4e206d99-4929-0410-ac5d-dfc041789085 --- src/SFML/Graphics/RenderImage.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SFML/Graphics/RenderImage.cpp b/src/SFML/Graphics/RenderImage.cpp index 28df9119..2e4d7a18 100644 --- a/src/SFML/Graphics/RenderImage.cpp +++ b/src/SFML/Graphics/RenderImage.cpp @@ -72,6 +72,9 @@ bool RenderImage::Create(unsigned int Width, unsigned int Height, bool DepthBuff return false; } + // Disable smoothing -- we don't want to alter the original rendering + myImage.SetSmooth(false); + // Create the implementation delete myRenderImage; if (priv::RenderImageImplFBO::IsSupported())