made gol python3 compatible

This commit is contained in:
Jonas Weinz 2017-05-07 18:46:44 +02:00
parent 9a497d056e
commit a790f78cfd

View File

@ -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)