LWJGL
May 25, 2013, 12:21:02 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.9.0 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Display not created  (Read 4200 times)
Trudko
Newbie
*
Posts: 29


« on: October 01, 2006, 09:01:52 »

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();
Logged
Matzon
Administrator
Demigod
*****
Posts: 2239



« Reply #1 on: October 01, 2006, 10:05:23 »

what exception are you getting ?
Logged

Trudko
Newbie
*
Posts: 29


Re:
« Reply #2 on: October 02, 2006, 02:41:14 »

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
Logged
Fool Running
Nerdus Imperius
*****
Posts: 742


« Reply #3 on: October 02, 2006, 07:41:42 »

Make sure the Init() method has Display.Create() in it like the tutorial does.
Logged

Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option Grin
Trudko
Newbie
*
Posts: 29


« Reply #4 on: October 02, 2006, 11:01:52 »

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":)
Logged
Fool Running
Nerdus Imperius
*****
Posts: 742


« Reply #5 on: October 03, 2006, 07:54:14 »

Quote
Like my friend say:"Stupid people lives to make other people clever"

We all do that some times. :lol:
Logged

Programmers will, one day, rule the world... and the world won't notice until its too late.Just testing the marquee option Grin
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!