From Alexander Irion, "Added missing format GL_ALPHA to Image::computeFormatDataType()."
This commit is contained in:
@@ -443,7 +443,8 @@ GLenum Image::computeFormatDataType(GLenum pixelFormat)
|
||||
case GL_RGBA:
|
||||
case GL_RGB:
|
||||
case GL_LUMINANCE:
|
||||
case GL_LUMINANCE_ALPHA: return GL_UNSIGNED_BYTE;
|
||||
case GL_LUMINANCE_ALPHA:
|
||||
case GL_ALPHA: return GL_UNSIGNED_BYTE;
|
||||
|
||||
default:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user