mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 13:40:16 +01:00
added missing GL_BGRA case
This commit is contained in:
parent
c45e83e787
commit
aa19f80f40
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue