/**
  * Enables or disables the following OpenGL states: Enable GL_DEPTH_CLAMP if ARB_depth_clamp is
  * supported
  */
 public void applyOptimalStates() {
   if (GLContext.getCapabilities().GL_ARB_depth_clamp) {
     glEnable(GL_DEPTH_CLAMP);
   }
 }