Example #1
0
 protected void popDestTextures() {
   try {
     currentDestTex = destTexStack.pop();
     currentFBO.setDrawBuffers(currentDestTex);
   } catch (EmptyStackException e) {
     System.out.println("Empty texture stack");
   }
 }
Example #2
0
 protected void setDestTextures(GLTexture[] destTex, int n) {
   currentDestTex = destTex;
   currentFBO.setDrawBuffers(currentDestTex, n);
 }