haskell-opengl / OpenGL

Haskell bindings to OpenGL
http://www.haskell.org/haskellwiki/OpenGL
BSD 3-Clause "New" or "Revised" License
147 stars 26 forks source link

RenderbufferObject isn't Eq, Ord, Show #49

Closed MaxDaten closed 10 years ago

MaxDaten commented 10 years ago

Is there any conceptional reason that Graphics.Rendering.OpenGL.GL.FramebufferObjects.RenderbufferObject isn't an instance of Eq, Ord and Show? Other OpenGL ID wrappers deriving these instances?

A pull request is coming soon ;)

Laar commented 10 years ago

It seems I forgot to add these instances when initially defining the RenderbufferObject.

svenpanne commented 10 years ago

Fixed in fc19160dbbb05086d5f6010e5e879ef9c6b499f9, I'm currently reviewing all data types and found a few more missing instances. Perhaps more changes will come...