I'm starting to use Fungen library for Haskell to make some games, but I've a problem with rendering. When I compile and run some code, it shows me the images and everything working, but at every game cycle, some black stripes appear. A friend of mine installed the same tool and things but he doesn't have that rendering problem, using the same code i wrote!.
Does anybody know how can I fix this?
Thanks!
It looks like you can easily initialize a Haskell FunGEn program to double buffer by saying:
import Graphics.UI.GLUT
and then prior to creating your window stating:
initialDisplayMode $= [DoubleBuffered]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With