Named correctly, and fixed to work with Le Potato
This commit is contained in:
@@ -147,8 +147,7 @@ class DisplayThread(threading.Thread):
|
||||
if self.dev_mode:
|
||||
os.environ.setdefault("SDL_VIDEODRIVER", "x11")
|
||||
else:
|
||||
os.environ["SDL_VIDEODRIVER"] = "fbcon"
|
||||
os.environ["SDL_FBDEV"] = "/dev/fb0"
|
||||
os.environ["SDL_VIDEODRIVER"] = "kmsdrm"
|
||||
|
||||
try:
|
||||
pygame.init()
|
||||
@@ -216,7 +215,7 @@ class DisplayThread(threading.Thread):
|
||||
w = self.config.width or 1280
|
||||
h = self.config.height or 720
|
||||
surface = pygame.display.set_mode((w, h))
|
||||
pygame.display.set_caption("Sahsa Clock [DEV]")
|
||||
pygame.display.set_caption("KH Clock [DEV]")
|
||||
return surface
|
||||
|
||||
flags = pygame.FULLSCREEN | pygame.NOFRAME
|
||||
|
||||
Reference in New Issue
Block a user