Hi I fixed my last problem but I have another one. I tried to run the OpenGl Rendering tutorial but it doesnt work. It throw exception in :
try{
init(fullscreen);
run();
} catch(exception e) {
.
.
.
And the sys alert is shown : An error occured and the game will exit");
I used debbug and I find out that problem with display.update();
what exception are you getting ?
Quote from: "Matzon"what exception are you getting ?
java.lang.IllegalStateException:Display not created
at org.lwjgl.opengl.Display.update(Display.java:578)
at cvicenie1.run(cvicenie1.java:68 )
at cvicenie1.main(cvicenie1.java:35)
btw cvicenie is name of class and it means exercise
Make sure the Init() method has Display.Create() in it like the tutorial does.
Quote from: "Fool Running"Make sure the Init() method has Display.Create() in it like the tutorial does.
Yes there was that problem. Probably I was doing some experiments with method init() and forget it. Like my friend say:"Stupid people lives to make other people clever":)
QuoteLike my friend say:"Stupid people lives to make other people clever"
We all do that some times. :lol: