Instead, you could, for example, ctypes.memmove the surface.pixels into a Python bytearray and then hand that to glTexImage2D via PyOpenGL.
確定! 回上一頁