Login  Register

Re: Intel HD Graphics 520 failure

Posted by charxie on Sep 11, 2018; 3:46pm
URL: https://forum.jogamp.org/Intel-HD-Graphics-520-failure-tp4039179p4039184.html

It seems one source of the error comes from this part of the code in JoglRenderer:

    @Override
    public void checkCardError() throws Ardor3dException {
        final GL gl = GLContext.getCurrentGL();

        try {
            final int errorCode = gl.glGetError();
            if (errorCode != GL.GL_NO_ERROR) {
                throw new GLException(_glu.gluErrorString(errorCode));
            }
        } catch (final GLException exception) {
            throw new Ardor3dException("Error in opengl: " + exception.getMessage(), exception);
        }
    }

Is there anything that we can do to fix this? Perhaps this isn't hard to fix?