Skip to content

Commit 97b18f5

Browse files
committed
Fixed patchVertices getter.
1 parent 804829b commit 97b18f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ data PrimitiveMode =
8484

8585
patchVertices :: StateVar GLsizei
8686
patchVertices =
87-
makeStateVar (getSizei1 id GetMaxPatchVertices)
87+
makeStateVar (getSizei1 id GetPatchVertices)
8888
(glPatchParameteri gl_PATCH_VERTICES . fromIntegral)
8989

9090
-- | Contains the maximumum number of vertices in a single patch.

0 commit comments

Comments
 (0)