{"record":{"id":"66cb3824ae5eee3a","repo":"libgdx/libgdx","slug":"angle-currently-can-t-be-used-with-with-lwjgl3appl","errorCode":null,"errorMessage":"ANGLE currently can't be used with with Lwjgl3ApplicationConfiguration#enableGLDebugOutput","messagePattern":"ANGLE currently can't be used with with Lwjgl3ApplicationConfiguration#enableGLDebugOutput","errorType":"exception","errorClass":"IllegalStateException","httpStatus":null,"severity":"error","filePath":"backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/Lwjgl3Application.java","lineNumber":602,"sourceCode":"\t\t\t\tthrow new GdxRuntimeException(\"Couldn't initialize GLES\", e);\n\t\t\t}\n\t\t} else {\n\t\t\tGL.createCapabilities();\n\t\t}\n\n\t\tinitiateGL(config.glEmulation == Lwjgl3ApplicationConfiguration.GLEmulation.ANGLE_GLES20);\n\t\tif (!glVersion.isVersionEqualToOrHigher(2, 0))\n\t\t\tthrow new GdxRuntimeException(\"OpenGL 2.0 or higher with the FBO extension is required. OpenGL version: \"\n\t\t\t\t+ glVersion.getVersionString() + \"\\n\" + glVersion.getDebugVersionString());\n\n\t\tif (config.glEmulation != Lwjgl3ApplicationConfiguration.GLEmulation.ANGLE_GLES20 && !supportsFBO()) {\n\t\t\tthrow new GdxRuntimeException(\"OpenGL 2.0 or higher with the FBO extension is required. OpenGL version: \"\n\t\t\t\t+ glVersion.getVersionString() + \", FBO extension: false\\n\" + glVersion.getDebugVersionString());\n\t\t}\n\n\t\tif (config.debug) {\n\t\t\tif (config.glEmulation == GLEmulation.ANGLE_GLES20) {\n\t\t\t\tthrow new IllegalStateException(\n\t\t\t\t\t\"ANGLE currently can't be used with with Lwjgl3ApplicationConfiguration#enableGLDebugOutput\");\n\t\t\t}\n\t\t\tglDebugCallback = GLUtil.setupDebugMessageCallback(config.debugStream);\n\t\t\tsetGLDebugMessageControl(GLDebugMessageSeverity.NOTIFICATION, false);\n\t\t}\n\n\t\treturn windowHandle;\n\t}\n\n\tprivate static void initiateGL (boolean useGLES20) {\n\t\tif (!useGLES20) {\n\t\t\tString versionString = GL11.glGetString(GL11.GL_VERSION);\n\t\t\tString vendorString = GL11.glGetString(GL11.GL_VENDOR);\n\t\t\tString rendererString = GL11.glGetString(GL11.GL_RENDERER);\n\t\t\tglVersion = new GLVersion(Application.ApplicationType.Desktop, versionString, vendorString, rendererString);\n\t\t} else {\n\t\t\ttry {\n\t\t\t\tClass gles = Class.forName(\"org.lwjgl.opengles.GLES20\");","sourceCodeStart":584,"sourceCodeEnd":620,"githubUrl":"https://github.com/libgdx/libgdx/blob/97f40861878058087be0685ca167ddfde132134b/backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/Lwjgl3Application.java#L584-L620","documentation":"Error \"ANGLE currently can't be used with with Lwjgl3ApplicationConfiguration#enableGLDebugOutput\" thrown in libgdx/libgdx.","triggerScenarios":"Thrown at backends/gdx-backend-lwjgl3/src/com/badlogic/gdx/backends/lwjgl3/Lwjgl3Application.java:602 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Do not call Lwjgl3ApplicationConfiguration#enableGLDebugOutput (or call it with false) when using ANGLE as the GL backend.","Switch off ANGLE (use the default native OpenGL backend) if you need GL debug output enabled."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"97f40861878058087be0685ca167ddfde132134b","analyzedAt":"2026-08-14T10:52:53.492Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}