[ pyopengl-Bugs-2987754 ] glGetIntegerv(GL_SMOOTH_LINE_WIDTH_RANGE) result changed

"SourceForge.net" <[email protected]> Thu, 15 Apr 2010 15:38:52 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #2987754, was opened at 2010-04-15 15:38
Message generated for change (Tracker Item Submitted) made by 
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2987754&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
Private: No
Submitted By: Mary Ellen Foster ()
Assigned to: Mike C. Fletcher (mcfletch)
Summary: glGetIntegerv(GL_SMOOTH_LINE_WIDTH_RANGE) result changed

Initial Comment:
In some code that I work with, we call glGetIntegerv(GL_SMOOTH_LINE_WIDTH_RANGE). This used to return an array, so we would later do essentially lineWidth[1] to get the max width and use that.

With PyOpenGL on Windows, that seems now to return a single integer -- at least, when we try to index it, we get an error like this:
    IndexError: invalid index to scalar variable.

Is this expected? Where can we get the old value? The single value that's returned now seems to be only the low end of the range ...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2987754&group_id=5988

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net