Browse Source

Compiler warning fix in iOS build.

tags/2021-05-28
jules 10 years ago
parent
commit
6bbe61f024
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_opengl/native/juce_OpenGL_ios.h

+ 1
- 1
modules/juce_opengl/native/juce_OpenGL_ios.h View File

@@ -70,7 +70,7 @@ public:
view.userInteractionEnabled = NO;
glLayer = (CAEAGLLayer*) [view layer];
glLayer.contentsScale = Desktop::getInstance().getDisplays().getMainDisplay().scale;
glLayer.contentsScale = (CGFloat) Desktop::getInstance().getDisplays().getMainDisplay().scale;
glLayer.opaque = true;
[((UIView*) peer->getNativeHandle()) addSubview: view];


Loading…
Cancel
Save