Skip to content

Commit a4ec901

Browse files
committed
Add a fixme regarding bound buffers.
1 parent 289a03d commit a4ec901

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GL/Buffer.hs

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ bindBuffer buffer (BufferC m) = do
118118
a <- runReader buffer m
119119
a <$ bind (Nothing `asTypeOf` Just buffer)
120120

121+
-- FIXME: there can be different kinds of bound buffers simultaneously
121122
class Monad m => HasBuffer ty v m | m -> ty v where
122123
askBuffer :: m (Buffer ty (v I))
123124

0 commit comments

Comments
 (0)