[PyOpenGL-Devel] [ pyopengl-Bugs-2987754 ] glGetIntegerv(GL_SMOOTH_LINE_WIDTH_RANGE) result changed
Brought to you by:
mcfletch
From: SourceForge.net <no...@so...> - 2010-04-15 15:38:52
|
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 |