diff options
Diffstat (limited to 'src/LambdaCube/GL/Util.hs')
-rw-r--r-- | src/LambdaCube/GL/Util.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LambdaCube/GL/Util.hs b/src/LambdaCube/GL/Util.hs index bbc4345..bba322b 100644 --- a/src/LambdaCube/GL/Util.hs +++ b/src/LambdaCube/GL/Util.hs | |||
@@ -341,7 +341,7 @@ streamToInputType s = case s of | |||
341 | | 0 <= i && i < V.length a && | 341 | | 0 <= i && i < V.length a && |
342 | if elem t integralTypes then elem at integralArrTypes else True | 342 | if elem t integralTypes then elem at integralArrTypes else True |
343 | -> fromStreamType t | 343 | -> fromStreamType t |
344 | | otherwise -> throw $ userError "streamToInputType failed" | 344 | | otherwise -> error "streamToInputType failed" |
345 | where | 345 | where |
346 | at = arrType $! (a V.! i) | 346 | at = arrType $! (a V.! i) |
347 | integralTypes = [Attribute_Word, Attribute_V2U, Attribute_V3U, Attribute_V4U, Attribute_Int, Attribute_V2I, Attribute_V3I, Attribute_V4I] | 347 | integralTypes = [Attribute_Word, Attribute_V2U, Attribute_V3U, Attribute_V4U, Attribute_Int, Attribute_V2I, Attribute_V3I, Attribute_V4I] |