@Override
    public void glReadPixels(final int x, final int y, final int width, final int height, final int format,
                             final int type, final ByteBuffer data) {
        checkLimit(data);
        GL11.glReadPixels(x, y, width, height, format, type, data);
    }
The LWJGL implementation of interfaces {@link GL}, {@link GL2}, {@link GL3}, {@link GL4}.
jme3-lwjgl3/src/main/java/com/jme3/renderer/lwjgl/LwjglGL.java