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'
|
resources_dir = script_dir + '/resources'
|
||||||
starting_surface = 'title'
|
starting_surface = 'title'
|
||||||
|
|
||||||
|
# Makes Pygame draw on the display of the RPi.
|
||||||
# Gets the directory of the script for importing and the save directory
|
os.environ["SDL_FBDEV"] = "/dev/fb1"
|
||||||
|
|
||||||
|
|
||||||
def game(windowed=False):
|
def game(windowed=False):
|
||||||
|
Loading…
Reference in New Issue
Block a user