Commit 24159226 by Geoff Lang Committed by Shannon Woods

Fixed a bug where GetBlueBits was returning the count of green bits.

TRAC #23278 Signed-off-by: Nicolas Capens Signed-off-by: Shannon Woods Author: Geoff Lang
parent b13f866e
......@@ -1155,7 +1155,7 @@ GLuint GetBlueBits(GLint internalFormat, GLuint clientVersion)
InternalFormatInfo internalFormatInfo;
if (GetInternalFormatInfo(internalFormat, clientVersion, &internalFormatInfo))
{
return internalFormatInfo.mGreenBits;
return internalFormatInfo.mBlueBits;
}
else
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment