[PyOpenGL-Devel] [ pyopengl-Bugs-621504 ] Error/Typo in glTexImage2D documentation
Brought to you by:
mcfletch
|
From: <no...@so...> - 2002-10-10 18:42:32
|
Bugs item #621504, was opened at 2002-10-10 14:42 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=621504&group_id=5988 Category: doc Group: None Status: Open Resolution: None Priority: 5 Submitted By: Thomas Boggs (tboggs) Assigned to: Nobody/Anonymous (nobody) Summary: Error/Typo in glTexImage2D documentation Initial Comment: In the documentation for glTexImage2D located at http://pyopengl.sourceforge.net/documentation/manual/glTexImage2D.3G.html, the documenation specifies that the width and height of the image must be 2 n + 2 (border), where n is an integer. I attempted to call the function with a bitmap matching that criterion and it raised an exception with "[Errno 1281] invalid value". I found another OpenGL document somewhere on the web which stated that the image dimensions must each be 2^n + 2 (border), where n is an integer. That eliminated the problem. I'm not sure if it's a typo or a formatting problem in the html. -thomas ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105988&aid=621504&group_id=5988 |