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