CullState + Invalid memory access


I've got another problem.

I got my new Macbook today and so i tried to set everythink up and tried to run my programm, but now i always get the following error:

Invalid memory access of location e49d7eb0 eip=1adc0289

And i already figured out, that the error is in the following code:

CullState cull = game.getDisplay().getRenderer().createCullState();

If i change FrontAndBack to only Front or Back, everythink works just fine.
But if i change it to FrontAndBack again i get the error again.

So what am i doing wrong?
I just want to hide and object...or is there another way to do that?


You can use Spatial.setCullHint(Spatial.CullHint.Always);

Got latest drivers? This kind of thing happening is quite odd. Though there's almost never a reason to use FrontAndBack, video cards shouldn't crash because of it…


It works with Spatial.setCullHint(Spatial.CullHint.Always);