public void renderButton(){
		glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
		int mx = Mouse.getX();
		int my = Main.HEIGHT - Mouse.getY();
		
		if(mx < 128 && my < 32){
			if(Input.checkForClick(0)){
				isOpen = true;
			}
			
			glColor4d(1, 1, 1, 1);
		}else{
			glColor4d(0.6, 0.6, 0.6, 0.6);
		}
		buttonTexture.bind();
		
		float ax = 0 - Main.px;
		float ay = 0 + Main.py;
		
		glBegin(GL_TRIANGLES); {
			glTexCoord2f(0, 0);
			glVertex2f(ax, ay);
			glTexCoord2f(1, 0);
			glVertex2f(ax + 128, ay);
			glTexCoord2f(0, 1);
			glVertex2f(ax, ay + 32);
			
			glTexCoord2f(1, 0);
			glVertex2f(ax + 128, ay);
			glTexCoord2f(1, 1);
			glVertex2f(ax + 128, ay + 32);
			glTexCoord2f(0, 1);
			glVertex2f(ax + 0, ay + 32);
		} glEnd();
	}