@@ -113,7 +113,7 @@ class GetPName p => GetPName1F p where
113
113
getClampd1 = get1 getDoublev
114
114
115
115
-- | Helper function for the get*1 functions.
116
- get1 :: (Storable b , Storable c , GetPName p )
116
+ get1 :: (Storable b , Storable c )
117
117
=> (p -> Ptr c -> IO () )
118
118
-> (b -> a ) -- ^ Conversion from the casted value to the return value
119
119
-> p -> IO a
@@ -138,7 +138,7 @@ class GetPName p => GetIPName1I p where
138
138
getInteger641i = get1i getInteger64iv
139
139
140
140
-- Indexed helper
141
- get1i :: (Storable b , Storable c , GetPName p )
141
+ get1i :: (Storable b , Storable c )
142
142
=> (p -> GLuint -> Ptr c -> IO () )
143
143
-> (b -> a ) -- ^ Conversion from the casted value to the return value
144
144
-> p -> GLuint -> IO a
@@ -175,7 +175,7 @@ class GetPName p => GetPName2F p where
175
175
getClampd2 = get2 getDoublev
176
176
177
177
-- | Helper function for the get*2 functions.
178
- get2 :: (Storable b , Storable c , GetPName p )
178
+ get2 :: (Storable b , Storable c )
179
179
=> (p -> Ptr c -> IO () )
180
180
-> (b -> b -> a ) -- ^ Conversion from the casted value to the return value
181
181
-> p -> IO a
@@ -212,7 +212,7 @@ class GetPName p => GetPName3F p where
212
212
getClampd3 = get3 getDoublev
213
213
214
214
-- | Helper function for the get*3 functions.
215
- get3 :: (Storable b , Storable c , GetPName p )
215
+ get3 :: (Storable b , Storable c )
216
216
=> (p -> Ptr c -> IO () )
217
217
-> (b -> b -> b -> a ) -- ^ Conversion from the casted value to the return value
218
218
-> p -> IO a
@@ -249,7 +249,7 @@ class GetPName p => GetPName4F p where
249
249
getClampd4 = get4 getDoublev
250
250
251
251
-- | Helper function for the get*4 functions.
252
- get4 :: (Storable b , Storable c , GetPName p )
252
+ get4 :: (Storable b , Storable c )
253
253
=> (p -> Ptr c -> IO () )
254
254
-> (b -> b -> b -> b -> a ) -- ^ Conversion from the casted value to the return value
255
255
-> p -> IO a
@@ -271,7 +271,7 @@ class GetPName p => GetIPName4I p where
271
271
getSizei4i = get4i getIntegeriv
272
272
273
273
-- | Helper function for the get*4 functions.
274
- get4i :: (Storable b , Storable c , GetPName p )
274
+ get4i :: (Storable b , Storable c )
275
275
=> (p -> GLuint -> Ptr c -> IO () )
276
276
-> (b -> b -> b -> b -> a ) -- ^ Conversion from the casted value to the return value
277
277
-> p -> GLuint -> IO a
0 commit comments