I've been stuck on this problem for a while now, so I'd really appreciate any help.
I'm trying to run code that ran fine on a different computer. This is in Python, btw.
This line:
glTexImage2D(GL_TEXTURE_2D, 0, 3, each.w, each.h, 0, GL_RGBA, GL_UNSIGNED_BYTE, each.image)
Gives this error:
OpenGL\arrays\arraydatatype.py", line 36, in getHandler
typ, repr(value)[:50]
TypeError: No array-type handler for type <type 'str'> (value: 'Zw#\xff]\x83,\xffi\x850\xffTx\x1e\xffFm\x12\xffYz) registered
Does anyone please know what that means?
Problem with PyOpenGL
Started by madjak, May 25 2008 04:31 PM
2 replies to this topic


Sign In
Create Account

Back to top









