haskell-opengl / OpenGLRaw

Haskell bindings to OpenGL (direct C bindings)
http://www.haskell.org/haskellwiki/OpenGL
BSD 3-Clause "New" or "Revised" License
47 stars 19 forks source link

add MArray instances #2

Closed dagit closed 11 years ago

dagit commented 13 years ago

look into adding instances for MArray so that GLfloat et al can be stored in IOUArrays. This may not be possible, or it may require coordination with base because CFloat et al may not have MArray instances yet. I don't think there is any technical reason preventing it because at run-time newtypes of primitive types use the same representation.

dagit commented 11 years ago

Switching over to type aliases fixes this.