mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-23 01:44:22 +00:00
Fixed a warning on iOS.
This commit is contained in:
parent
19b2beec63
commit
6cd473576b
1 changed files with 3 additions and 1 deletions
|
|
@ -405,7 +405,9 @@ void CoreGraphicsContext::fillCGRect (const CGRect& cgRect, const bool replaceEx
|
|||
{
|
||||
if (replaceExistingContents)
|
||||
{
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5
|
||||
#if JUCE_IOS
|
||||
CGContextSetBlendMode (context, kCGBlendModeCopy);
|
||||
#elif MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_5
|
||||
CGContextClearRect (context, cgRect);
|
||||
#else
|
||||
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue