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.
_______________________________________________
Haskell-prime mailing list
Haskell-prime@haskell.org
http://haskell.org/mailman/listinfo/haskell-prime

Reply via email to