1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-20 01:14:20 +00:00

Compiler warning fix in iOS build.

This commit is contained in:
jules 2015-03-16 15:28:06 +00:00
parent 76892601c3
commit 6bbe61f024

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];