engine: Don't need to convert tiled surface
When creating a new surface, it should already be the best format for displaying on the screen. We don't need to keep converting it.
This commit is contained in:
parent
724cf94be5
commit
b000093330
|
@ -22,4 +22,4 @@ def tiled_image(game, image_file):
|
|||
for i in xrange( (sw / w) + 1 ):
|
||||
for j in xrange( (sh / h) + 1 ):
|
||||
surf.blit(image, (w * i, h * j))
|
||||
return surf.convert()
|
||||
return surf
|
||||
|
|
Loading…
Reference in New Issue
Block a user