mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Xcode 5 compiler fix.
This commit is contained in:
parent
fa82952520
commit
bdceeeb9f0
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ ImagePixelData::Ptr OpenGLImageType::create (Image::PixelFormat, int width, int
|
|||
ScopedPointer<OpenGLFrameBufferImage> im (new OpenGLFrameBufferImage (*currentContext, width, height));
|
||||
|
||||
if (! im->initialise())
|
||||
return nullptr;
|
||||
return ImagePixelData::Ptr();
|
||||
|
||||
im->frameBuffer.clear (Colours::transparentBlack);
|
||||
return im.release();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue