made gol python3 compatible
This commit is contained in:
parent
9a497d056e
commit
a790f78cfd
@ -21,7 +21,8 @@ FPS = 40
|
||||
|
||||
livingSpace = []
|
||||
|
||||
def resize((width, height)):
|
||||
def resize(shape):
|
||||
width, height = shape
|
||||
if height == 0:
|
||||
height = 1
|
||||
glViewport(0, 0, width, height)
|
||||
|
Loading…
Reference in New Issue
Block a user