[PyOpenGL-Devel] [ pyopengl-Bugs-890124 ] glFogCoordfEXT () within glBegin - GLerror invalid operati
Brought to you by:
mcfletch
From: SourceForge.net <no...@so...> - 2004-07-18 07:48:34
|
Bugs item #890124, was opened at 2004-02-03 21:29 Message generated for change (Settings changed) made by mcfletch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=890124&group_id=5988 Category: GL Group: v2.0.1 >Status: Closed >Resolution: Duplicate Priority: 5 Submitted By: Brian Leair (bleair2) Assigned to: Nobody/Anonymous (nobody) Summary: glFogCoordfEXT () within glBegin - GLerror invalid operation Initial Comment: I'm experiencing a GLerror "invalid operation" exception when I try to used glFogCoordfEXT () within a glBegin ()/glEnd () set. I'm about to delve into the interface C code to see why s as to what is triggering the exception. I have observed the following: #1 calling glFogCoordfEXT () outside of glBegin () works as expected. #2 catching the exception and ignoring it (basically ignoring it) results in a program that works - I get the fog effect that I expect. I don't think I have a stupid user error. I've checked that glEnable (), glHint (), and glFogx () calls are appropriate. Plus my program works with code in place to catch and ignore the exception I see in the documentation that "invalid operation" will be thrown if you try to use an extension without having called the appropriate extension init function, but I have that. If this is a stupid user error, I apologize heartily. I do see in the Error section for the C documentation of glGetError (), that calling glGetError () during a glBegin()/glEnd () pair will also generate GL_INVALID_OPERATION. Could this be related? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=890124&group_id=5988 |