
FogCoordSrc enum is missing
Posted Monday, 26 September, 2011 - 11:10 by tksuoran| Project: | The Open Toolkit library |
| Version: | 1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | open |
Description
I would expect the following enum:
public enum FogCoordSrc : int { FogCoord = ((int)0x8451), FragmentDepth = ((int)0x8452), }
These are defined in OpenGL 4.2 Compatibility Profile section 3.12: "If pname is FOG_COORD_SRC, then param must be, or params must point to an integer that is one of the symbolic constants FRAGMENT_DEPTH or FOG_COORD.".
FogCoordinate and FragmentDepth are in All, and versions with Ext suffix are in ExtFogCoord.
Perhaps yet another bug in OpenGL spec files?

