need help again [loading bitmaps]

enache alex alex_e_fii at
Sat Apr 22 14:26:07 EDT 2006

hello again ; I am writing again to ask you if you can please show me an example of loading a bitmap on a window ; I tried tu use the bitmap function from Graphics.Rendering.OpenGL.GL.Bitmap but it gives me an error ; I've called the function like this : bmp <- bitmap (Size (100,100)) (Vertex2 (0::GLfloat) 0) (Vector2 0 0 ) (Ptr "C:\1.bmp") ; and it sais 
  ERROR file:.\ball.hs:43 - Undefined data constructor "Ptr"
  pls help ; I want to make my game look a little better ; thanks again ; 

Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Haskell-prime mailing list