Skip to content

Commit 5d4e828

Browse files
committed
Forgot to add gl_PATCHES to unmarshal
1 parent c0b4b2c commit 5d4e828

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Graphics/Rendering/OpenGL/GL/PrimitiveMode.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,5 @@ unmarshalPrimitiveMode x
9797
| x == gl_QUADS = Quads
9898
| x == gl_QUAD_STRIP = QuadStrip
9999
| x == gl_POLYGON = Polygon
100+
| x == gl_PATCHES = Patches
100101
| otherwise = error ("unmarshalPrimitiveMode: illegal value " ++ show x)

0 commit comments

Comments
 (0)