[ pyopengl-Bugs-1498439 ] glTexImage1/2/3D does not allow NULL texture data

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #1498439, was opened at 2006-05-31 15:27
Message generated for change (Settings changed) made by mcfletch
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=1498439&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: v2.0.1
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Mike C. Fletcher (mcfletch)
Summary: glTexImage1/2/3D does not allow NULL texture data

Initial Comment:
The glTexImage1/2/3D calls do not allow NULL texture 
data to be passed in. For example, the following 
valid OpenGL call fails with a TypeError:

glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB8, 512, 512, 0, 
GL_RGB, GL_INT, None)

File "gl.pyx", line 592, in gl.glTexImage2D
TypeError: expected string or Unicode object, 
NoneType found

A NULL texture is useful when you want to create a 
render target texture or a texture whose content will 
be defined at a later time.

Regards,
Sami Kyöstilä <[email protected]>


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

>Comment By: Mike C. Fletcher (mcfletch)
Date: 2008-01-19 22:04

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

This is now working in 3.x CVS.

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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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.