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

public class Class155
{
    int anInt1766;
    static int[] anIntArray1767 = new int[2];
    static final int anInt1768 = 35633;
    Class87_Sub1 aClass87_Sub1_1769;
    static final int anInt1770 = 35632;
    
    static Class155 method3686(Class87_Sub1 class87_sub1, int i,
			       String string) {
	int i_0_ = OpenGL.glCreateShader(i);
	OpenGL.glShaderSource(i_0_, string);
	OpenGL.glCompileShader(i_0_);
	OpenGL.glGetShaderiv(i_0_, 35713, anIntArray1767, 0);
	if (anIntArray1767[0] == 0) {
	    boolean bool = false;
	    if (anIntArray1767[0] == 0) {
		bool = true;
		System.out.println("");
	    }
	    OpenGL.glGetShaderiv(i_0_, 35716, anIntArray1767, 1);
	    if (anIntArray1767[1] > 1) {
		byte[] is = new byte[anIntArray1767[1]];
		OpenGL.glGetShaderInfoLog(i_0_, anIntArray1767[1],
					  anIntArray1767, 0, is, 0);
		System.out.println(new String(is));
	    }
	    if (bool) {
		OpenGL.glDeleteShader(i_0_);
		return null;
	    }
	}
	return new Class155(class87_sub1, i_0_, i);
    }
    
    static Class155 method3687(Class87_Sub1 class87_sub1, int i,
			       String string) {
	int i_1_ = OpenGL.glCreateShader(i);
	OpenGL.glShaderSource(i_1_, string);
	OpenGL.glCompileShader(i_1_);
	OpenGL.glGetShaderiv(i_1_, 35713, anIntArray1767, 0);
	if (anIntArray1767[0] == 0) {
	    boolean bool = false;
	    if (anIntArray1767[0] == 0) {
		bool = true;
		System.out.println("");
	    }
	    OpenGL.glGetShaderiv(i_1_, 35716, anIntArray1767, 1);
	    if (anIntArray1767[1] > 1) {
		byte[] is = new byte[anIntArray1767[1]];
		OpenGL.glGetShaderInfoLog(i_1_, anIntArray1767[1],
					  anIntArray1767, 0, is, 0);
		System.out.println(new String(is));
	    }
	    if (bool) {
		OpenGL.glDeleteShader(i_1_);
		return null;
	    }
	}
	return new Class155(class87_sub1, i_1_, i);
    }
    
    public void finalize() throws Throwable {
	((Class155) this).aClass87_Sub1_1769
	    .method15044((long) ((Class155) this).anInt1766);
	super.finalize();
    }
    
    void method3688() throws Throwable {
	((Class155) this).aClass87_Sub1_1769
	    .method15044((long) ((Class155) this).anInt1766);
	super.finalize();
    }
    
    static Class155 method3689(Class87_Sub1 class87_sub1, int i,
			       String string) {
	int i_2_ = OpenGL.glCreateShader(i);
	OpenGL.glShaderSource(i_2_, string);
	OpenGL.glCompileShader(i_2_);
	OpenGL.glGetShaderiv(i_2_, 35713, anIntArray1767, 0);
	if (anIntArray1767[0] == 0) {
	    boolean bool = false;
	    if (anIntArray1767[0] == 0) {
		bool = true;
		System.out.println("");
	    }
	    OpenGL.glGetShaderiv(i_2_, 35716, anIntArray1767, 1);
	    if (anIntArray1767[1] > 1) {
		byte[] is = new byte[anIntArray1767[1]];
		OpenGL.glGetShaderInfoLog(i_2_, anIntArray1767[1],
					  anIntArray1767, 0, is, 0);
		System.out.println(new String(is));
	    }
	    if (bool) {
		OpenGL.glDeleteShader(i_2_);
		return null;
	    }
	}
	return new Class155(class87_sub1, i_2_, i);
    }
    
    Class155(Class87_Sub1 class87_sub1, int i, int i_3_) {
	((Class155) this).aClass87_Sub1_1769 = class87_sub1;
	((Class155) this).anInt1766 = i;
    }
}
