private final int method3774(byte i) {
	anInt7518++;
	int i_183_ = 0;
	aString7845 = OpenGL.glGetString(7936).toLowerCase();
	aString7790 = OpenGL.glGetString(7937).toLowerCase();
	if (aString7845.indexOf("microsoft") != -1)
	    i_183_ |= 0x1;
	if (aString7845.indexOf("brian paul") != -1
	    || aString7845.indexOf("mesa") != -1)
	    i_183_ |= 0x1;
	String string = OpenGL.glGetString(7938);
	String[] strings
	    = Class348_Sub40_Sub23.split(' ',
					      string.replace('.', ' '));
	if (strings.length >= 2) {
	    try {
		int i_184_ = Class348_Sub41.method3156(true, strings[0]);
		int i_185_ = Class348_Sub41.method3156(true, strings[1]);
		anInt7789 = i_184_ * 10 - -i_185_;
	    } catch (NumberFormatException numberformatexception) {
		i_183_ |= 0x4;
	    }
	} else
	    i_183_ |= 0x4;
	if ((anInt7789 ^ 0xffffffff) > -13)
	    i_183_ |= 0x2;
	if (!anOpenGL7664.a("GL_ARB_multitexture"))
	    i_183_ |= 0x8;
	if (!anOpenGL7664.a("GL_ARB_texture_env_combine"))
	    i_183_ |= 0x20;
	if (i > -58)
	    return 48;
	int[] is = new int[1];
	OpenGL.glGetIntegerv(34018, is, 0);
	((OpenGlToolkit) this).anInt7795 = is[0];
	OpenGL.glGetIntegerv(34929, is, 0);
	anInt7799 = is[0];
	OpenGL.glGetIntegerv(34930, is, 0);
	anInt7819 = is[0];
	if (((OpenGlToolkit) this).anInt7795 < 2 || (anInt7799 ^ 0xffffffff) > -3
	    || (anInt7819 ^ 0xffffffff) > -3)
	    i_183_ |= 0x10;
	((OpenGlToolkit) this).aBoolean7775 = Stream.c();
	aBoolean7866 = anOpenGL7664.arePbuffersAvailable();
	aBoolean7873 = anOpenGL7664.a("GL_ARB_vertex_buffer_object");
	aBoolean7843 = anOpenGL7664.a("GL_ARB_multisample");
	((OpenGlToolkit) this).aBoolean7841
	    = anOpenGL7664.a("GL_ARB_vertex_program");
	anOpenGL7664.a("GL_ARB_fragment_program");
	((OpenGlToolkit) this).aBoolean7791 = anOpenGL7664.a("GL_ARB_vertex_shader");
	((OpenGlToolkit) this).aBoolean7783
	    = anOpenGL7664.a("GL_ARB_fragment_shader");
	((OpenGlToolkit) this).aBoolean7831 = anOpenGL7664.a("GL_EXT_texture3D");
	((OpenGlToolkit) this).aBoolean7837
	    = anOpenGL7664.a("GL_ARB_texture_rectangle");
	((OpenGlToolkit) this).aBoolean7863
	    = anOpenGL7664.a("GL_ARB_texture_cube_map");
	((OpenGlToolkit) this).aBoolean7818 = anOpenGL7664.a("GL_ARB_texture_float");
	((OpenGlToolkit) this).aBoolean7793 = false;
	((OpenGlToolkit) this).aBoolean7820
	    = anOpenGL7664.a("GL_EXT_framebuffer_object");
	((OpenGlToolkit) this).aBoolean7815
	    = anOpenGL7664.a("GL_EXT_framebuffer_blit");
	((OpenGlToolkit) this).aBoolean7807
	    = anOpenGL7664.a("GL_EXT_framebuffer_multisample");
	aBoolean7822
	    = ((OpenGlToolkit) this).aBoolean7807 & ((OpenGlToolkit) this).aBoolean7815;
	OpenGL.glGetFloatv(2834, DummyInputstream.aFloatArray84, 0);
	aFloat7829 = DummyInputstream.aFloatArray84[0];
	aFloat7800 = DummyInputstream.aFloatArray84[1];
	if (i_183_ != 0)
	    return i_183_;
	return 0;
    }