mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-22 21:51:08 +00:00
Fixed type translation.
This commit is contained in:
parent
d8f6f45361
commit
5692eb125b
|
@ -24,3 +24,5 @@ PixelFormat PixelFormat
|
|||
PixelType PixelType
|
||||
MapTarget MapTarget
|
||||
Boolean GLboolean
|
||||
|
||||
SGIS_texture_filter4 SgisTextureFilter4
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue