Fixed type translation.

This commit is contained in:
the_fiddler 2008-02-02 13:24:41 +00:00
parent d8f6f45361
commit 5692eb125b
2 changed files with 2 additions and 2 deletions

View file

@ -24,3 +24,5 @@ PixelFormat PixelFormat
PixelType PixelType
MapTarget MapTarget
Boolean GLboolean
SGIS_texture_filter4 SgisTextureFilter4

View file

@ -272,8 +272,6 @@ namespace Bind.Structures
{
}
this.CurrentType = Enum.TranslateName(CurrentType);
// Try to find out if it is an enum. If the type exists in the normal GLEnums list, use this.
// Otherwise, try to find it in the aux enums list. If it exists in neither, it is not an enum.
// Special case for Boolean - it is an enum, but it is dumb to use that instead of the 'bool' type.