A two line patch against src-glu/mipmap.c for gluScaleImage to allow
GL_BGR and GL_BGRA formats

Steven Fuller

--- mipmap.c~   Sun Dec 12 11:24:18 1999
+++ mipmap.c    Sun Feb 27 13:34:32 2000
@@ -141,9 +141,11 @@
         components = 2;
         break;
       case GL_RGB:
+      case GL_BGR:
         components = 3;
         break;
       case GL_RGBA:
+      case GL_BGRA:
 #ifdef GL_EXT_abgr
       case GL_ABGR_EXT:
 #endif

Reply via email to