/* Class487_Sub35_Sub3 - Decompiled by JODE
 * Visit http://jode.sourceforge.net/
 */
import jaggl.OpenGL;

public class Class487_Sub35_Sub3 extends Class487_Sub35 implements Interface11
{
    Class116 aClass116_11018;
    int anInt11019;
    static int[] anIntArray11020 = new int[1];
    int anInt11021;
    Class155 aClass155_11022;
    int anInt11023;
    int anInt11024;
    Class151_Sub3 aClass151_Sub3_11025;
    
    public void method81() {
	if (((Class487_Sub35_Sub3) this).anInt11019 != 0) {
	    int[] is = new int[1];
	    is[0] = ((Class487_Sub35_Sub3) this).anInt11019;
	    OpenGL.glDeleteRenderbuffersEXT(1, is, 0);
	    ((Class487_Sub35_Sub3) this).anInt11019 = 0;
	}
    }
    
    public int method4() {
	return ((Class487_Sub35_Sub3) this).anInt11023;
    }
    
    public int method1() {
	return ((Class487_Sub35_Sub3) this).anInt11021;
    }
    
    public int method38() {
	return ((Class487_Sub35_Sub3) this).anInt11023;
    }
    
    Class487_Sub35_Sub3(Class151_Sub3 class151_sub3, Class116 class116,
			Class155 class155, int i, int i_0_, int i_1_) {
	((Class487_Sub35_Sub3) this).aClass151_Sub3_11025 = class151_sub3;
	((Class487_Sub35_Sub3) this).anInt11021 = i;
	((Class487_Sub35_Sub3) this).anInt11023 = i_0_;
	((Class487_Sub35_Sub3) this).aClass116_11018 = class116;
	((Class487_Sub35_Sub3) this).aClass155_11022 = class155;
	OpenGL.glGenRenderbuffersEXT(1, anIntArray11020, 0);
	((Class487_Sub35_Sub3) this).anInt11019 = anIntArray11020[0];
	OpenGL.glBindRenderbufferEXT(36161,
				     ((Class487_Sub35_Sub3) this).anInt11019);
	OpenGL.glRenderbufferStorageMultisampleEXT
	    (36161, i_1_,
	     Class151_Sub3.method8615((((Class487_Sub35_Sub3) this)
				       .aClass116_11018),
				      (((Class487_Sub35_Sub3) this)
				       .aClass155_11022)),
	     ((Class487_Sub35_Sub3) this).anInt11021,
	     ((Class487_Sub35_Sub3) this).anInt11023);
	((Class487_Sub35_Sub3) this).anInt11024
	    = (((Class487_Sub35_Sub3) this).anInt11021
	       * ((Class487_Sub35_Sub3) this).anInt11023
	       * (((Class487_Sub35_Sub3) this).aClass116_11018.anInt1453
		  * -1152771135)
	       * (((Class487_Sub35_Sub3) this).aClass155_11022.anInt1895
		  * -822141047));
    }
    
    public void method44(int i) {
	OpenGL.glFramebufferRenderbufferEXT(36160, i, 36161,
					    (((Class487_Sub35_Sub3) this)
					     .anInt11019));
    }
    
    void method10128() {
	if (((Class487_Sub35_Sub3) this).anInt11019 != 0) {
	    ((Class487_Sub35_Sub3) this).aClass151_Sub3_11025.method8625
		(((Class487_Sub35_Sub3) this).anInt11019,
		 ((Class487_Sub35_Sub3) this).anInt11024);
	    ((Class487_Sub35_Sub3) this).anInt11019 = 0;
	}
    }
    
    public void finalize() throws Throwable {
	method10128();
	super.finalize();
    }
    
    void method10129() throws Throwable {
	method10128();
	super.finalize();
    }
    
    public int method6() {
	return ((Class487_Sub35_Sub3) this).anInt11023;
    }
    
    public int method5() {
	return ((Class487_Sub35_Sub3) this).anInt11023;
    }
    
    public void method45(int i) {
	OpenGL.glFramebufferRenderbufferEXT(36160, i, 36161,
					    (((Class487_Sub35_Sub3) this)
					     .anInt11019));
    }
    
    public void method79() {
	if (((Class487_Sub35_Sub3) this).anInt11019 != 0) {
	    int[] is = new int[1];
	    is[0] = ((Class487_Sub35_Sub3) this).anInt11019;
	    OpenGL.glDeleteRenderbuffersEXT(1, is, 0);
	    ((Class487_Sub35_Sub3) this).anInt11019 = 0;
	}
    }
    
    public void method80() {
	if (((Class487_Sub35_Sub3) this).anInt11019 != 0) {
	    int[] is = new int[1];
	    is[0] = ((Class487_Sub35_Sub3) this).anInt11019;
	    OpenGL.glDeleteRenderbuffersEXT(1, is, 0);
	    ((Class487_Sub35_Sub3) this).anInt11019 = 0;
	}
    }
    
    void method10130() throws Throwable {
	method10128();
	super.finalize();
    }
    
    public int method26() {
	return ((Class487_Sub35_Sub3) this).anInt11021;
    }
    
    public int method21() {
	return ((Class487_Sub35_Sub3) this).anInt11021;
    }
    
    public void method46(int i) {
	OpenGL.glFramebufferRenderbufferEXT(36160, i, 36161,
					    (((Class487_Sub35_Sub3) this)
					     .anInt11019));
    }
    
    Class487_Sub35_Sub3(Class151_Sub3 class151_sub3, Class116 class116,
			Class155 class155, int i, int i_2_) {
	((Class487_Sub35_Sub3) this).aClass151_Sub3_11025 = class151_sub3;
	((Class487_Sub35_Sub3) this).anInt11021 = i;
	((Class487_Sub35_Sub3) this).anInt11023 = i_2_;
	((Class487_Sub35_Sub3) this).aClass116_11018 = class116;
	((Class487_Sub35_Sub3) this).aClass155_11022 = class155;
	OpenGL.glGenRenderbuffersEXT(1, anIntArray11020, 0);
	((Class487_Sub35_Sub3) this).anInt11019 = anIntArray11020[0];
	OpenGL.glBindRenderbufferEXT(36161,
				     ((Class487_Sub35_Sub3) this).anInt11019);
	OpenGL.glRenderbufferStorageEXT
	    (36161,
	     Class151_Sub3.method8615((((Class487_Sub35_Sub3) this)
				       .aClass116_11018),
				      (((Class487_Sub35_Sub3) this)
				       .aClass155_11022)),
	     ((Class487_Sub35_Sub3) this).anInt11021,
	     ((Class487_Sub35_Sub3) this).anInt11023);
	((Class487_Sub35_Sub3) this).anInt11024
	    = (((Class487_Sub35_Sub3) this).anInt11021
	       * ((Class487_Sub35_Sub3) this).anInt11023
	       * (((Class487_Sub35_Sub3) this).aClass116_11018.anInt1453
		  * -1152771135)
	       * (((Class487_Sub35_Sub3) this).aClass155_11022.anInt1895
		  * -822141047));
    }
    
    public void method43(int i) {
	OpenGL.glFramebufferRenderbufferEXT(36160, i, 36161,
					    (((Class487_Sub35_Sub3) this)
					     .anInt11019));
    }
}
