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

public class Class148 {
	static int[] anIntArray1820 = new int[1];
	Class84_Sub3 aClass84_Sub3_1821;
	int anInt1822;
	static final int anInt1823 = 34336;

	public void finalize() throws Throwable {
		((Class148) this).aClass84_Sub3_1821.method15459(((Class148) this).anInt1822);
		super.finalize();
	}

	Class148(Class84_Sub3 class84_sub3, int i, int i_0_) {
		((Class148) this).aClass84_Sub3_1821 = class84_sub3;
		((Class148) this).anInt1822 = i_0_;
	}

	static Class148 method3382(Class84_Sub3 class84_sub3, int i, String string) {
		int i_1_ = OpenGL.glGenProgramARB();
		OpenGL.glBindProgramARB(i, i_1_);
		OpenGL.glProgramStringARB(i, 34933, string);
		OpenGL.glGetIntegerv(34379, anIntArray1820, 0);
		if (anIntArray1820[0] != -1) {
			OpenGL.glBindProgramARB(i, 0);
			return null;
		}
		OpenGL.glBindProgramARB(i, 0);
		return new Class148(class84_sub3, i, i_1_);
	}

	void method3383() throws Throwable {
		((Class148) this).aClass84_Sub3_1821.method15459(((Class148) this).anInt1822);
		super.finalize();
	}

	void method3384() throws Throwable {
		((Class148) this).aClass84_Sub3_1821.method15459(((Class148) this).anInt1822);
		super.finalize();
	}

	static Class148 method3385(Class84_Sub3 class84_sub3, int i, String string) {
		int i_2_ = OpenGL.glGenProgramARB();
		OpenGL.glBindProgramARB(i, i_2_);
		OpenGL.glProgramStringARB(i, 34933, string);
		OpenGL.glGetIntegerv(34379, anIntArray1820, 0);
		if (anIntArray1820[0] != -1) {
			OpenGL.glBindProgramARB(i, 0);
			return null;
		}
		OpenGL.glBindProgramARB(i, 0);
		return new Class148(class84_sub3, i, i_2_);
	}

	static Class148 method3386(Class84_Sub3 class84_sub3, int i, String string) {
		int i_3_ = OpenGL.glGenProgramARB();
		OpenGL.glBindProgramARB(i, i_3_);
		OpenGL.glProgramStringARB(i, 34933, string);
		OpenGL.glGetIntegerv(34379, anIntArray1820, 0);
		if (anIntArray1820[0] != -1) {
			OpenGL.glBindProgramARB(i, 0);
			return null;
		}
		OpenGL.glBindProgramARB(i, 0);
		return new Class148(class84_sub3, i, i_3_);
	}

	static Class148 method3387(Class84_Sub3 class84_sub3, int i, String string) {
		int i_4_ = OpenGL.glGenProgramARB();
		OpenGL.glBindProgramARB(i, i_4_);
		OpenGL.glProgramStringARB(i, 34933, string);
		OpenGL.glGetIntegerv(34379, anIntArray1820, 0);
		if (anIntArray1820[0] != -1) {
			OpenGL.glBindProgramARB(i, 0);
			return null;
		}
		OpenGL.glBindProgramARB(i, 0);
		return new Class148(class84_sub3, i, i_4_);
	}
}
