Haskell - Fungen Framework - Rendering problem
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 t开发者_如何学Gohe 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]
精彩评论