kvark's picture

GL.GenerateMipmap argument

Project:The Open Toolkit library
Category:support request

I think the GenerateMipmapTarget enum is not needed.
Instead, the TextureTarget enum parameter should be accepted by GL.GenerateMipmap.
BTW, I don't see Texture*Array in the GenerateMipmapTarget at the moment.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
the Fiddler's picture


Status:open» confirmed

You are right that GenerateMipmapTarget is not necessary.

Texture*Array has been added in SVN. You'll need to cast from the All enum for now - see issue #1120: [OpenGL] Add tokens for OpenGL 3.2 specs.

the Fiddler's picture


Status:confirmed» fixed

Fixed in r2524.

I have added the missing tokens to GenerateMipmapTarget. I am not replacing this enum with TextureTarget, since the latter contains several tokens which are invalid for GenerateMipmap().

the Fiddler's picture


Version:0.9.x-dev» 1.0-beta-2
Status:fixed» closed

Closing issues fixed in 1.0 beta-2.