Bugs item #1704764, was opened at 2007-04-21 02:13
Message generated for change (Comment added) made by bobl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1704764&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: glBindTexture raises OverflowError in 2.0.1.09
Initial Comment:
I'm running the Debian python-opengl package that shows as version 2.0.1.09.
Code:
self._texture = glGenTextures(1)
glBindTexture(GL_TEXTURE_2D, self._texture)
raises
glBindTexture(GL_TEXTURE_2D, self._texture)
OverflowError: long int too large to convert to int
I saw some mailing list post claiming the bug was fixed in the .07 version, looks like someone reintroduced it again.
----------------------------------------------------------------------
Comment By: Bob Lewis (bobl)
Date: 2007-08-06 16:41
Message:
Logged In: YES
user_id=135353
Originator: NO
This happened to me. The problem appeared to be that I was calling
glGenTextures() before the program had called glCreateWindow(). Calling
glGenTextures() after glCreateWindow() fixed it. A proper fix, however,
would be to make glGenTextures() raise a more meaningful exception if it's
called at the wrong time. Even better, fix glGenTextures() so that it can
be called any time.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-07-25 02:55
Message:
Logged In: NO
confirmed on =dev-python/pyopengl-2.0.1.09-r1 on gentoo
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1704764&group_id=5988
|