[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Re: Is Pygame suitable for full HD games?



Hi,

it's generally best to avoid HWSURFACE, since on many platforms it is not worth it or just falls back to software.

regards,

On Tue, Feb 7, 2012 at 12:04 AM, Silver <rockachu2@xxxxxxxxx> wrote:
If you blit to a separate image, then it to the screen, I think you
aren't taking advantage of the HWSURFACE flag. If somebody else could
confirm this is correct, please do.

To set a surface to have the HWSURFACE flag, you need to create the
surface with it:

image = pygame.Surface((1920,1080), pygame.HWSURFACE)

then just blit it as normal.



I hope this answers your questions,
       Silver