fixed rpi display not rendering anything

This commit is contained in:
Nicholas Dyer 2023-05-13 10:16:43 -04:00
parent afd228d81a
commit f6e9869282
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ save_dir = os.path.join(Path.home(), '.pocket_friends')
resources_dir = script_dir + '/resources'
starting_surface = 'title'
# Gets the directory of the script for importing and the save directory
# Makes Pygame draw on the display of the RPi.
os.environ["SDL_FBDEV"] = "/dev/fb1"
def game(windowed=False):