Example #1
0
 public static FBO createFBO(GL gl, int width, int height, boolean useDepthBuffer) {
   return createFBO(
       gl,
       TextureUtils.createEmptyTexture2D(gl, width, height, false),
       useDepthBuffer ? createFBODepthBuffer(gl, width, height) : TextureUtils.ILLEGAL_ID);
 }
Example #2
0
 public void paintBackground(Graphics g) {
   TextureUtils.fillComponent(g, this, TextureUtils.WINDOW_TEXTURE_TYPE);
 }