Hi All,<br /><br />I have been following an OpenGL book which has its examples in cpp, but using haskell instead. I have a problem when trying to read a bitmap, I haven&#39;t managed to render the file to the buffer, I did a little parser based on the one in RWH for the bmp file, and apparently everything seems to work well, but when I call drawPixels I don&#39;t get a clear image. The code that I&#39;m using is here :<br />http://gist.github.com/160787<br /><br />What am I doing wrong ?<br /><br /><br /><br />Thanks in advance for any help.<br /><br />abuiles