public static OpenGLTexture getTexture(String name){
        for(Texture ticket : textures){
            if(ticket.getName().equals(name)){
                return ticket.getTexture();
            }
        }
        Debug.error("Texture '" + name + "' does not exist");
        return null;
    }