We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
void DxtcReadColor(ILushort Data, Color8888* Out) { ILubyte r, g, b;
b = Data & 0x1f; g = (Data & 0x7E0) >> 5; r = (Data & 0xF800) >> 11; Out->r = r << 3 | r >> 2; Out->g = g << 2 | g >> 3; Out->b = b << 3 | r >> 2;
}
I suspect the r >> 2 when calculating Out->b should be b >> 2.
Cheers John
The text was updated successfully, but these errors were encountered:
No branches or pull requests
void DxtcReadColor(ILushort Data, Color8888* Out)
{
ILubyte r, g, b;
}
I suspect the r >> 2 when calculating Out->b should be b >> 2.
Cheers
John
The text was updated successfully, but these errors were encountered: