Skip to content

App crashes when using OpenGL version 3.0 and 3.1 with LWJGL 3 #2011

Closed
@Ali-RS

Description

@Ali-RS

Reported by @aspenyoung79 in forum post: https://hub.jmonkeyengine.org/t/shadow-maybe-failed-in-gles2-and-appsetting-failed-to-choose-gl-version/46759

App crashes when using AppSettings.LWJGL_OPENGL30 and AppSettings.LWJGL_OPENGL31 renderers with lwjgl3.

SEVERE: Context profiles are only defined for OpenGL version 3.2 and above
java.lang.Exception: Context profiles are only defined for OpenGL version 3.2 and above
	at com.jme3.system.lwjgl.LwjglWindow$1.invoke(LwjglWindow.java:235)
	at org.lwjgl.glfw.GLFWErrorCallbackI.callback(GLFWErrorCallbackI.java:43)
	at org.lwjgl.system.JNI.invokePPPP(Native Method)
	at org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:2024)
	at org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:2197)
	at com.jme3.system.lwjgl.LwjglWindow.createContext(LwjglWindow.java:300)
	at com.jme3.system.lwjgl.LwjglWindow.initInThread(LwjglWindow.java:588)
	at com.jme3.system.lwjgl.LwjglWindow.run(LwjglWindow.java:710)
	at java.lang.Thread.run(Thread.java:750)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething that is supposed to work, but doesn't. More severe than a "defect".

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions