public static String transError(int error) {
		switch (error) {
		case GL_NO_ERROR:
			return "No error";
		case GL_INVALID_ENUM:
			return "Enum argument out of range";
		case GL_INVALID_VALUE:
			return "Numeric argument out of range";
		case GL_INVALID_OPERATION:
			return "Operation illegal in current state";
		case GL_STACK_OVERFLOW:
			return "Command would cause a stack overflow";
		case GL_STACK_UNDERFLOW:
			return "Command would cause a stack underflow";
		case GL_OUT_OF_MEMORY:
			return "Not enough memory left to execute command";
		case GL_INVALID_FRAMEBUFFER_OPERATION:
			return "Framebuffer object is not complete";
		default:
			return "Unknown error code";
		}
	}