mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 04:41:05 +08:00
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:
parent
2deb8bd021
commit
0704e242c0
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user