mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
Clang: Fix warnings when building with clang 10
This commit is contained in:
parent
286bb40a9e
commit
394c4fd475
144 changed files with 896 additions and 839 deletions
|
|
@ -97,7 +97,8 @@ private:
|
|||
auto parentBounds = mainWindow.getBounds();
|
||||
|
||||
componentImage = mainWindow.createComponentSnapshot (mainWindow.getLocalBounds())
|
||||
.rescaled (roundToInt (parentBounds.getWidth() / 1.75f), roundToInt (parentBounds.getHeight() / 1.75f));
|
||||
.rescaled (roundToInt ((float) parentBounds.getWidth() / 1.75f),
|
||||
roundToInt ((float) parentBounds.getHeight() / 1.75f));
|
||||
|
||||
kernel.applyToImage (componentImage, componentImage, getLocalBounds());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue