kvark's picture

GL.GenerateMipmap argument

Project:The Open Toolkit library
Version:1.0-beta-2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.


Comments

Comment viewing options

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

#1

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

#2

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

#3

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

Closing issues fixed in 1.0 beta-2.