Skip to content

Commit

Permalink
Workaround pygame bug - fixes #30
Browse files Browse the repository at this point in the history
  • Loading branch information
rm-hull committed Nov 22, 2017
1 parent a2c0cb6 commit 44de8e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luma/emulator/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ class pygame(emulator):
def __init__(self, width=128, height=64, rotate=0, mode="RGB", transform="scale2x",
scale=2, frame_rate=60, **kwargs):
super(pygame, self).__init__(width, height, rotate, mode, transform, scale)
self._pygame.init()
self._pygame.display.init()
self._pygame.font.init()
self._pygame.display.set_caption("Luma.core Display Emulator")
self._clock = self._pygame.time.Clock()
Expand Down

0 comments on commit 44de8e1

Please sign in to comment.