Skip to content

Commit

Permalink
Removed another redundant constraint.
Browse files Browse the repository at this point in the history
  • Loading branch information
svenpanne committed Apr 11, 2016
1 parent 1facd81 commit ed76729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Graphics/Rendering/OpenGL/GL/Evaluators.hs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ totalComponents1 :: MapDescriptor d -> Int
totalComponents1 (MapDescriptor _ stride order numComp) =
fromIntegral stride * (fromIntegral order - 1) + fromIntegral numComp

totalComponents2 :: Domain d => MapDescriptor d -> MapDescriptor d -> Int
totalComponents2 :: MapDescriptor d -> MapDescriptor d -> Int
totalComponents2 uDescriptor vDescriptor@(MapDescriptor _ _ _ numComp) =
totalComponents1 uDescriptor + totalComponents1 vDescriptor - fromIntegral numComp

Expand Down

0 comments on commit ed76729

Please sign in to comment.