tksuoran's picture

FogCoordSrc enum is missing

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?