Browse Source

Xcode 5 compiler fix.

tags/2021-05-28
jules 11 years ago
parent
commit
bdceeeb9f0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_opengl/opengl/juce_OpenGLImage.cpp

+ 1
- 1
modules/juce_opengl/opengl/juce_OpenGLImage.cpp View File

@@ -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…
Cancel
Save