186187188189190191192193194195
Pbuffer pb = new Pbuffer(10, 10, format, null); pb.makeCurrent(); if (GLContext.getCapabilities().GL_ARB_multisample) { result = glGetInteger(GL30.GL_MAX_SAMPLES); } pb.destroy(); return result; } }