opnsense-ports/games/fretsonfire/files/patch-src_Video.py
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

17 lines
744 B
Python

--- src/Video.py Wed Nov 1 01:03:39 2006
+++ src/Video.py Wed Nov 1 01:04:35 2006
@@ -48,10 +48,10 @@
pygame.display.init()
- pygame.display.gl_set_attribute(pygame.GL_RED_SIZE, 8)
- pygame.display.gl_set_attribute(pygame.GL_GREEN_SIZE, 8)
- pygame.display.gl_set_attribute(pygame.GL_BLUE_SIZE, 8)
- pygame.display.gl_set_attribute(pygame.GL_ALPHA_SIZE, 8)
+ pygame.display.gl_set_attribute(pygame.GL_RED_SIZE, 5)
+ pygame.display.gl_set_attribute(pygame.GL_GREEN_SIZE, 6)
+ pygame.display.gl_set_attribute(pygame.GL_BLUE_SIZE, 5)
+ pygame.display.gl_set_attribute(pygame.GL_ALPHA_SIZE, 0)
if multisamples:
pygame.display.gl_set_attribute(pygame.GL_MULTISAMPLEBUFFERS, 1);