Check for maximum texture size