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

public class Class149
{
    int anInt1738;
    Class87_Sub1 aClass87_Sub1_1739;
    static final int anInt1740 = 34336;
    static int[] anIntArray1741 = new int[1];
    
    Class149(Class87_Sub1 class87_sub1, int i, int i_0_) {
	((Class149) this).aClass87_Sub1_1739 = class87_sub1;
	((Class149) this).anInt1738 = i_0_;
    }
    
    public void finalize() throws Throwable {
	((Class149) this).aClass87_Sub1_1739
	    .method15039(((Class149) this).anInt1738);
	super.finalize();
    }
    
    static Class149 method3532(Class87_Sub1 class87_sub1, int i,
			       String string) {
	int i_1_ = OpenGL.glGenProgramARB();
	OpenGL.glBindProgramARB(i, i_1_);
	OpenGL.glProgramStringARB(i, 34933, string);
	OpenGL.glGetIntegerv(34379, anIntArray1741, 0);
	if (anIntArray1741[0] != -1) {
	    OpenGL.glBindProgramARB(i, 0);
	    return null;
	}
	OpenGL.glBindProgramARB(i, 0);
	return new Class149(class87_sub1, i, i_1_);
    }
    
    static Class149 method3533(Class87_Sub1 class87_sub1, int i,
			       String string) {
	int i_2_ = OpenGL.glGenProgramARB();
	OpenGL.glBindProgramARB(i, i_2_);
	OpenGL.glProgramStringARB(i, 34933, string);
	OpenGL.glGetIntegerv(34379, anIntArray1741, 0);
	if (anIntArray1741[0] != -1) {
	    OpenGL.glBindProgramARB(i, 0);
	    return null;
	}
	OpenGL.glBindProgramARB(i, 0);
	return new Class149(class87_sub1, i, i_2_);
    }
    
    static Class149 method3534(Class87_Sub1 class87_sub1, int i,
			       String string) {
	int i_3_ = OpenGL.glGenProgramARB();
	OpenGL.glBindProgramARB(i, i_3_);
	OpenGL.glProgramStringARB(i, 34933, string);
	OpenGL.glGetIntegerv(34379, anIntArray1741, 0);
	if (anIntArray1741[0] != -1) {
	    OpenGL.glBindProgramARB(i, 0);
	    return null;
	}
	OpenGL.glBindProgramARB(i, 0);
	return new Class149(class87_sub1, i, i_3_);
    }
    
    void method3535() throws Throwable {
	((Class149) this).aClass87_Sub1_1739
	    .method15039(((Class149) this).anInt1738);
	super.finalize();
    }
    
    static Class149 method3536(Class87_Sub1 class87_sub1, int i,
			       String string) {
	int i_4_ = OpenGL.glGenProgramARB();
	OpenGL.glBindProgramARB(i, i_4_);
	OpenGL.glProgramStringARB(i, 34933, string);
	OpenGL.glGetIntegerv(34379, anIntArray1741, 0);
	if (anIntArray1741[0] != -1) {
	    OpenGL.glBindProgramARB(i, 0);
	    return null;
	}
	OpenGL.glBindProgramARB(i, 0);
	return new Class149(class87_sub1, i, i_4_);
    }
}
