1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Reverted a mistaken change of type in LookAndFeel::createGraphicsContext

This commit is contained in:
jules 2019-05-17 14:06:09 +01:00
parent f2be246233
commit ad2419e152
2 changed files with 2 additions and 2 deletions

View file

@ -170,7 +170,7 @@ MouseCursor LookAndFeel::getMouseCursorFor (Component& component)
std::unique_ptr<LowLevelGraphicsContext> LookAndFeel::createGraphicsContext (const Image& imageToRenderOn,
Point<int> origin,
RectangleList<int> initialClip)
const RectangleList<int>& initialClip)
{
return std::make_unique<LowLevelGraphicsSoftwareRenderer> (imageToRenderOn, origin, initialClip);
}

View file

@ -198,7 +198,7 @@ public:
/** Creates a new graphics context object. */
virtual std::unique_ptr<LowLevelGraphicsContext> createGraphicsContext (const Image& imageToRenderOn,
Point<int> origin,
RectangleList<int> initialClip);
const RectangleList<int>& initialClip);
void setUsingNativeAlertWindows (bool shouldUseNativeAlerts);
bool isUsingNativeAlertWindows();