haskell-opengl/OpenGLRaw — Issue #9: OpenGLRaw doesn't compile with the GHC head of Nov 2011
Author: benl23x5
Created: 2011-11-17 04:22:22+00:00
State: open

```
src/Graphics/Rendering/OpenGL/Raw/ARB/DrawInstanced.hs:32:1:
Unacceptable argument type in foreign declaration: GLenum
When checking declaration:
foreign import ccall unsafe "dynamic" dyn_glDrawArraysInstanced
:: Invoker (GLenum -> GLint -> GLsizei -> GLsizei -> IO ())
```

GHC now needs to see the RHS of newtype defs like GLenum.