
GL.GenerateMipmap argument
Posted Friday, 11 September, 2009 - 14:17 by kvark| Project: | The Open Toolkit library |
| Version: | 1.0-beta-2 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
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
#1
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.
#2
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().
#3
Closing issues fixed in 1.0 beta-2.