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

No function to create rectangular textures #17

Closed yiding closed 10 years ago

yiding commented 13 years ago

There's no way to create a rectangular texture with the high level api. texImage2D only calls the low level api with Texture2D, not TextureRectangle.

Laar commented 13 years ago

I've implemented a possible new API for Textures in a branch. The current highlevel api doesn't support enough texture targets for OpenGL 3.0 so it needs to be replaced.

svenpanne commented 10 years ago

You can specify TextureRectangle now, so I think this issue can be closed. If there is still something missing for rectangular textures, please open a new issue.