mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Fixed some GCC compiler warnings and removed deprecated functions
This commit is contained in:
parent
ddd4e84b9e
commit
16dd26649a
109 changed files with 381 additions and 289 deletions
|
|
@ -41,9 +41,9 @@ void BitmapLEDProgram::setLED (uint32 x, uint32 y, LEDColour colour)
|
|||
{
|
||||
auto bit = (x + y * w) * 16;
|
||||
|
||||
block.setDataBits (bit, 5, colour.getRed() >> 3);
|
||||
block.setDataBits (bit + 5, 6, colour.getGreen() >> 2);
|
||||
block.setDataBits (bit + 11, 5, colour.getBlue() >> 3);
|
||||
block.setDataBits (bit, 5, (uint32) (colour.getRed() >> 3));
|
||||
block.setDataBits (bit + 5, 6, (uint32) (colour.getGreen() >> 2));
|
||||
block.setDataBits (bit + 11, 5, (uint32) (colour.getBlue() >> 3));
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue