0 Replies Latest reply: Jan 30, 2010 6:46 PM by 843853 RSS

    GLCapabilitiesChooser result should be between 1 and 6

    843853
      All,

      My application crashes with the following exception:
      Exception in thread "main" javax.media.opengl.GLException: Invalid result 11 from GLCapabilitiesChooser (should be between 1 and 6)
           at com.sun.opengl.impl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfiguration(WindowsWGLGraphicsConfigurationFactory.java:264)
           at com.sun.opengl.impl.windows.wgl.WindowsWGLGraphicsConfiguration.updateGraphicsConfiguration(WindowsWGLGraphicsConfiguration.java:92)
           at com.sun.opengl.impl.windows.wgl.WindowsWGLDrawable.setRealized(WindowsWGLDrawable.java:76)
           at javax.media.opengl.awt.GLCanvas.addNotify(GLCanvas.java:413)
           at java.awt.Container.addNotify(Unknown Source)
           at javax.swing.JComponent.addNotify(Unknown Source)
           at java.awt.Container.addNotify(Unknown Source)
           at javax.swing.JComponent.addNotify(Unknown Source)
           at java.awt.Container.addNotify(Unknown Source)
           at javax.swing.JComponent.addNotify(Unknown Source)
           at javax.swing.JRootPane.addNotify(Unknown Source)
           at java.awt.Container.addNotify(Unknown Source)
           at java.awt.Window.addNotify(Unknown Source)
           at java.awt.Frame.addNotify(Unknown Source)
           at java.awt.Window.show(Unknown Source)
           at java.awt.Component.show(Unknown Source)
           at java.awt.Component.setVisible(Unknown Source)
           at java.awt.Window.setVisible(Unknown Source)
           at driver.Driver.main(Driver.java:106)
      Why should the result be between 1 and 6? I am certain that my hardware support multisampling.

      Thank you,
      Robert