예제 #1
0
 protected void popDestTextures() {
   try {
     currentDestTex = destTexStack.pop();
     currentFBO.setDrawBuffers(currentDestTex);
   } catch (EmptyStackException e) {
     System.out.println("Empty texture stack");
   }
 }
예제 #2
0
  protected void popFramebuffer() {
    if (!popFramebufferEnabled) return;

    try {
      currentFBO = fboStack.pop();
      currentFBO.bind();
    } catch (EmptyStackException e) {
      System.out.println("Empty framebuffer stack");
    }
  }