summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-06-05 16:27:41 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-06-05 16:27:41 +0000
commitaa19f80f406760c99e7d1ce6066fede03be5d03c (patch)
tree777e7e02858dec2764fce79fdd7bf7d802efcadc
parentc45e83e78758f9f49524540e96fa4bf5bd5a842d (diff)
added missing GL_BGRA case
-rw-r--r--src/glu/mesa/mipmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glu/mesa/mipmap.c b/src/glu/mesa/mipmap.c
index 3c4834cff7..f1c6d9ce76 100644
--- a/src/glu/mesa/mipmap.c
+++ b/src/glu/mesa/mipmap.c
@@ -1,4 +1,4 @@
-/* $Id: mipmap.c,v 1.5 2000/02/28 14:51:43 brianp Exp $ */
+/* $Id: mipmap.c,v 1.6 2000/06/05 16:27:41 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -555,6 +555,7 @@ static GLint bytes_per_pixel( GLenum format, GLenum type )
n = 3;
break;
case GL_RGBA:
+ case GL_BGRA:
#ifdef GL_EXT_abgr
case GL_ABGR_EXT:
#endif