On Thu, Nov 25, 2010 at 12:05 PM, Axel Simon <Axel.Simon@in.tum.de> wrote:
Hi Herng Yi,

On 25.11.2010, at 12:34, Herng Yi Cheng wrote:

The HOpenGL problem wasn't solved, though - I tried compiling with -threaded, -threaded -O, -threaded -O2 and even used +RTS -N2 -RTS for runtime options, but the polyhedron rotation is still jerky and mostly unresponsive.

That is really odd since you say that it is fluent in ghci. The only difference between the two should be removed by the -threaded flag.

Does it work if you compile your program with "-fno-state-hack"?