Should new pygmy surfaces be .convert () ed?
2 answers
When you create a new surface, its format always matches (as much as possible) the format of the current display surface (regardless of what you set on the last call pygame.display.set_mode()
). You won't need convert
new surfaces if their format is the same as the display surface (alpha, for a single or indexed color, as the name suggests).
Note that if the new surface has an alpha depth (with or without formatted data), you will want to use convert_alpha()
.
From the docs: http://www.pygame.org/docs/ref/surface.html (Which may have been updated within nearly twenty months of the request.)
+1
source to share