@Override
	public void draw(Mesh mesh) {
		if (mesh.isLoaded()) {
			if (mesh.hasShader() && settings.r_useshader)
				glUseProgram(mesh.getShader().getShaderProgram());
			glCallList(mesh.getId());
			if (mesh.hasShader() && settings.r_useshader)
				glUseProgram(0);
		}
	}