[ pyopengl-Bugs-1579715 ] Probable int/int32 problem with version 3.0.0a4
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.python.opengl.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1579715, was opened at 2006-10-18 21:57
Message generated for change (Comment added) made by lgautier
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1579715&group_id=5988
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: GL
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Probable int/int32 problem with version 3.0.0a4
Initial Comment:
With version 3.0.0a4, compiled on Linux 64 bits,
lesson18 in Demo/NeHe dies with:
Traceback (most recent call last):
File "lesson18.py", line 302, in ?
main()
File "lesson18.py", line 294, in main
InitGL(640, 480)
File "lesson18.py", line 106, in InitGL
LoadTextures()
File "lesson18.py", line 76, in LoadTextures
glBindTexture(GL_TEXTURE_2D, textures[0]) # 2d
texture (x and y size)
ctypes.ArgumentError: argument 2: exceptions.TypeError:
int expected instead of numpy.int32 instance
This may suggest that an explicit signature with int32
is needed (at least to accommodate 64 bits architectures,
since 32 bits architectures will find both int and int32
equivalent).
A fix can possibly made in several places, but
I would think that changing the signature of
glBindTexture for its secnd argument to int32 is
what is needed.
----------------------------------------------------------------------
Comment By: lgautier (lgautier)
Date: 2006-10-18 21:59
Message:
Logged In: YES
user_id=1623918
The entry above should have been logged under this account.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1579715&group_id=5988
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net