fixed rpi display not rendering anything
This commit is contained in:
parent
afd228d81a
commit
f6e9869282
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue