[ pyopengl-Bugs-1900757 ] glAreTexturesResident function is broken (doesn't match docs

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #1900757, was opened at 2008-02-24 05:28
Message generated for change (Comment added) made by mcfletch
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1900757&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: v3.0.0
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: glAreTexturesResident function is broken (doesn't match docs

Initial Comment:
using pyOpenGl 3.0.0b1 and the glAreTexturesResident() function.

Documentation (take it its fairly old: http://pyopengl.sourceforge.net/documentation/manual/glAreTexturesResident.3G.xml) says usage is

glAreTexturesResident(textures[]) → residences[]

But using it like this gives:

ValueError: glAreTexturesResident requires 3 arguments (n, textures, residences), received 1: ([1L],)

Either the glAreTexturesResident() function needs to be fixed to this more pythonic syntax, or the documentation updated to reflect the more C like syntax. I would like to see the former. Keeping the pythonic approach.

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

>Comment By: Mike C. Fletcher (mcfletch)
Date: 2008-04-25 10:48

Message:
Logged In: YES 
user_id=34901
Originator: NO

Fix is now in CVS, was a low-level problem with handling of ctypes pointer
objects that caused the regression in the fix.

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

Comment By: Mike C. Fletcher (mcfletch)
Date: 2008-04-18 16:27

Message:
Logged In: YES 
user_id=34901
Originator: NO

Urgh, and an immediate regression, apparently before I got it checked in,
that stops it working again :( .

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

Comment By: Mike C. Fletcher (mcfletch)
Date: 2008-04-18 14:27

Message:
Logged In: YES 
user_id=34901
Originator: NO

Checking in code now to support both APIs.

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
_______________________________________________
PyOpenGL-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyopengl-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.