amd64: pyopengl truncates 64-bit GLchar* to 32-bit

Bug #622409 reported by Gustaw Smolarczyk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyopengl (Ubuntu)
New
Undecided
Unassigned

Bug Description

Lucid's current pyopengl truncates 64-bit pointers. I can see this issue using glGetUniformLocation[ARB] function. The second argument is a pointer of GLchar* type and GL library receives it truncated to 32-bit. It prevents me from playing FoFiX (tested on version 3.121) on Ubuntu Lucid.

The problem is very ugly and I wasn't able to track it down completely. Fortunately, upgrading to maverick's python-opengl solves the problem.

I'm not completely sure if this problem is related to OSS drivers (and mesa) or not. If it's a bug in pyopengl (as I suspect) the fix should be backported (as it's fixed in newer version).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.