added GL_BGR and GL_BGRA to is_color_format() (Ronny Vindenes

This commit is contained in:
Brian Paul 2004-06-11 19:08:55 +00:00
parent 3f3d11d067
commit beef59e73a
1 changed files with 2 additions and 0 deletions

View File

@ -356,6 +356,7 @@ is_color_format(GLenum internalFormat)
case GL_INTENSITY16:
case 3:
case GL_RGB:
case GL_BGR:
case GL_R3_G3_B2:
case GL_RGB4:
case GL_RGB5:
@ -365,6 +366,7 @@ is_color_format(GLenum internalFormat)
case GL_RGB16:
case 4:
case GL_RGBA:
case GL_BGRA:
case GL_RGBA2:
case GL_RGBA4:
case GL_RGB5_A1: