haskell-opengl/OpenGL — Issue #21: PolygonMode in Polygons.hs does not conform to OpenGL specification
Author: jcmartin
Created: 2011-12-20 03:05:29+00:00
State: open

In Polygons.hs, polygonMode's type signature is:

polygonMode :: StateVar (PolygonMode, PolygonMode)

However, in all documentation from 1.5 and above in the OpenGL the prototype for the PolygonMode function is:

void PolygonMode(enum Face, enum Mode);

The correct type signature for polygonMode should be then:

polygonMode :: StateVar (Face, PolygonMode)