Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  Unable to lock surface  (Read 833 times)
0 Members and 1 Guest are viewing this topic.
Offline nlmueng

Jr. Member
**

Posts: 58



« on: 2003-09-12 12:57:42 »

Anyone know why this error might occur:

Trying to use reflection from an app to launch a jogl app.

Caused by: net.java.games.jogl.GLException: Unable to lock surface
       at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.lockSurface(WindowsOnscreenGLContext.java:155)
       at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.makeCurrent(WindowsOnscreenGLContext.java:107)
       at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:162)
       at net.java.games.jogl.GLCanvas.reshape(GLCanvas.java:119)
       at java.awt.Component.setBounds(Component.java:1664)
       at java.awt.Component.resize(Component.java:1601)
       at java.awt.Component.setSize(Component.java:1593)
       at demos.nehe.lesson17.GLDisplay.<init>(GLDisplay.java:32)
       at demos.nehe.lesson17.GLDisplay.<init>(GLDisplay.java:27)
       at demos.nehe.lesson17.Lesson17.main(Lesson17.java:5)


nathan
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.096 seconds with 21 queries.