Browse Source

gbe.display will initialize the font system when initializing the display.

master
Bryan Miller 6 years ago
parent
commit
a50f2c52d5
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      game/gbe/display.py

+ 1
- 0
game/gbe/display.py View File

if self._init == False: if self._init == False:
self._init = True self._init = True
pygame.display.init() pygame.display.init()
pygame.font.init() # Because there's really no reason NOT to.
self.set_mode((width, height), self._display_flags) self.set_mode((width, height), self._display_flags)
return self return self



Loading…
Cancel
Save