com.jogamp.opengl.GLException:WindowsGraphicsDevice上没有配置文件GL_DEFAULT

时间:2017-08-19 00:45:23

标签: jogl graphics3d

我想通过JOGL和Eclipse绘制3D图形,但它不起作用 有人可以帮忙吗?

Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: com.jogamp.opengl.GLException: Profile GL_DEFAULT is not available on WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x3279cf]], but: []
    at com.jogamp.opengl.GLProfile.get(GLProfile.java:991)
    at com.jogamp.opengl.GLProfile.getDefault(GLProfile.java:722)
    at com.jogamp.opengl.awt.GLCanvas.<init>(GLCanvas.java:264)
    at com.jogamp.opengl.awt.GLCanvas.<init>(GLCanvas.java:231)
    at com.jogamp.opengl.awt.GLCanvas.<init>(GLCanvas.java:218)
    at edu.mines.jtk.ogl.GlCanvas.<init>(GlCanvas.java:45)
    at HelloDemo$1.<init>(HelloDemo.java:28)
    at HelloDemo.<clinit>(HelloDemo.java:28)

0 个答案:

没有答案