Skip to content

Commit 54b25ba

Browse files
committed
Tiny simplification.
1 parent df5dc42 commit 54b25ba

File tree

1 file changed

+1
-1
lines changed
  • src/Graphics/Rendering/OpenGL/GL/Shaders

1 file changed

+1
-1
lines changed

src/Graphics/Rendering/OpenGL/GL/Shaders/Limits.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ maxVaryingFloats = getLimit GetMaxVaryingFloats
8080
-- | Contains the maximum allowed tessellation level.
8181

8282
maxTessGenLevel :: GettableStateVar GLsizei
83-
maxTessGenLevel = makeGettableStateVar $ getSizei1 id GetMaxTessGenLevel
83+
maxTessGenLevel = getLimit GetMaxTessGenLevel
8484

8585
getLimit :: PName1I -> GettableStateVar GLsizei
8686
getLimit = makeGettableStateVar . getSizei1 id

0 commit comments

Comments
 (0)