Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -389,7 +389,7 @@ def game_loop():
|
|
| 389 |
# Convert to PIL image and resize for display
|
| 390 |
raw_str = pygame.image.tostring(screen, 'RGB')
|
| 391 |
pil_image = Image.frombytes('RGB', (SCREEN_WIDTH, SCREEN_HEIGHT), raw_str)
|
| 392 |
-
pil_image = pil_image.resize((int(SCREEN_WIDTH/
|
| 393 |
|
| 394 |
# Add FPS text overlay to the image
|
| 395 |
try:
|
|
|
|
| 389 |
# Convert to PIL image and resize for display
|
| 390 |
raw_str = pygame.image.tostring(screen, 'RGB')
|
| 391 |
pil_image = Image.frombytes('RGB', (SCREEN_WIDTH, SCREEN_HEIGHT), raw_str)
|
| 392 |
+
pil_image = pil_image.resize((int(SCREEN_WIDTH/1), int(SCREEN_HEIGHT/1)))
|
| 393 |
|
| 394 |
# Add FPS text overlay to the image
|
| 395 |
try:
|