SFML community forums

Help => Graphics => Topic started by: wizardofoz on November 22, 2008, 03:57:21 pm

Title: Image::CopyScreen
Post by: wizardofoz on November 22, 2008, 03:57:21 pm
Hi all, I would like to know if there is some particular reason for the function Image::CopyScreen to use a RenderWindow pointer instead of a more generic RenderTarget.

I'm asking that because PostFX uses CopyScreen and this limits the use of PostFX to RenderWindow (I cannot use PostFX with my RenderImage class  :wink: ).
Title: Image::CopyScreen
Post by: Laurent on November 22, 2008, 06:45:46 pm
It wouldn't make sense, as RenderImage is already an image.

Anyway, PostFx is going to change soon ;)
Title: Image::CopyScreen
Post by: wizardofoz on November 23, 2008, 10:57:22 pm
Quote
It wouldn't make sense, as RenderImage is already an image.


Yes you are right, thanks. I'll wait the update to PostFX  :)