projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7460cfa
)
added GL_BGR case to bytes_per_pixel()
author
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 26 Oct 2000 21:48:18 +0000
(21:48 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Thu, 26 Oct 2000 21:48:18 +0000
(21:48 +0000)
src/glu/mesa/mipmap.c
patch
|
blob
|
history
diff --git
a/src/glu/mesa/mipmap.c
b/src/glu/mesa/mipmap.c
index e5efc6240f5f630f2c6e449f0dabe61526862bd9..22f2dbf8743303e4bd500d1281eab85afc2f6272 100644
(file)
--- a/
src/glu/mesa/mipmap.c
+++ b/
src/glu/mesa/mipmap.c
@@
-1,8
+1,8
@@
-/* $Id: mipmap.c,v 1.
7 2000/07/11 14:11:04
brianp Exp $ */
+/* $Id: mipmap.c,v 1.
8 2000/10/26 21:48:18
brianp Exp $ */
/*
* Mesa 3-D graphics library
- * Version: 3.
3
+ * Version: 3.
4
* Copyright (C) 1995-2000 Brian Paul
*
* This library is free software; you can redistribute it and/or
@@
-576,6
+576,7
@@
bytes_per_pixel(GLenum format, GLenum type)
n = 2;
break;
case GL_RGB:
+ case GL_BGR:
n = 3;
break;
case GL_RGBA: