On Thu, Apr 29, 2010 at 1:18 PM, claudio canepa <[email protected]> wrote:
> Richard: I noticed two forms to pass the GLuint *ids in pyglet:
> id = GLuint(texture_id)
> glDeleteTextures(1, id)
>
> and
> id = GLuint()
> glGenTextures(1, byref(id))
>
> Now, the two functions have the same second param type:  GLuint *ids
> Is there a reason to use the second, long form, to pass the second parameter

Documentation for the gl*Framebuffer* calls may be found at:

http://developer.apple.com/mac/library/documentation/GraphicsImaging/Conceptual/OpenGL-MacProgGuide/opengl_offscreen/opengl_offscreen.html

Importantly glDeleteFramebuffersEXT takes an array of object ids to
delete - but then so does glDeleteTextures. That may be a bug in
pyglet.


     Richard

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en.

Reply via email to