Blame SOURCES/mesa-8.0.1-fix-16bpp.patch

230118
diff -up Mesa-8.0.1/src/mesa/state_tracker/st_manager.c.jx Mesa-8.0.1/src/mesa/state_tracker/st_manager.c
230118
--- Mesa-8.0.1/src/mesa/state_tracker/st_manager.c.jx	2012-02-14 18:44:00.000000000 -0500
230118
+++ Mesa-8.0.1/src/mesa/state_tracker/st_manager.c	2012-04-02 12:02:14.613964417 -0400
230118
@@ -528,6 +528,9 @@ st_context_teximage(struct st_context_if
230118
       if (util_format_get_component_bits(internal_format,
230118
                UTIL_FORMAT_COLORSPACE_RGB, 3) > 0)
230118
          internalFormat = GL_RGBA;
230118
+      else if (util_format_get_component_bits(internal_format,
230118
+                 UTIL_FORMAT_COLORSPACE_RGB, 0) == 5)
230118
+         internalFormat = GL_RGB5;
230118
       else
230118
          internalFormat = GL_RGB;
230118