Level selection crash

There seems to be some sort of PyOpenGL/ctypes/numpy incompatability issue going on which crashes the level selector on a few platforms. There is some sort of type problem with the result of a function returning a numpy array being passed to another function. Odd.

Anyway, a fix for those with problems (thanks elias):


Line 320 DfSplash.py:

Change:
textures = glGenTextures(numLevels + 1)

to:
textures = [int(t) for t in glGenTextures(numLevels + 1)]


Sorry about this! I blame somebody else...

(log in to comment)

Comments

Just a little addition - it seems likely that this problem is related 64 bit operating systems. The types get mixed up in a bad way.
Am I the only one who doesn't want a White Dress?
Am I the only one who doesn't want a White Dress?