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
This commit is contained in:
laurentgom 2009-06-13 07:57:42 +00:00
parent 2deb8bd021
commit 0704e242c0

View File

@ -72,6 +72,9 @@ bool RenderImage::Create(unsigned int Width, unsigned int Height, bool DepthBuff
return false; return false;
} }
// Disable smoothing -- we don't want to alter the original rendering
myImage.SetSmooth(false);
// Create the implementation // Create the implementation
delete myRenderImage; delete myRenderImage;
if (priv::RenderImageImplFBO::IsSupported()) if (priv::RenderImageImplFBO::IsSupported())