Commits

Marcel Rodrigues committed c8cb774

- fixed default value for bpp in BitmapFont.render()

Comments (0)

Files changed (1)

             th += h
 
         if bpp is None:
-            bpp = self.surface.format.BitsPerPixel
+            bpp = self.surface.format.contents.BitsPerPixel
         imgsurface = SoftwareSprite(tw, th, bpp)
         target = imgsurface.surface
         blit_surface = surface.SDL_BlitSurface