Skip to content

Commit 3f663e3

Browse files
Jose PeredaJohan Vos
authored andcommitted
8240262: iOS refresh rate is capped to 30 Hz
Reviewed-by: jvos
1 parent 231879a commit 3f663e3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/javafx.graphics/src/main/native-glass/ios/GlassViewGL.m

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,6 @@ - (id)initWithFrame:(CGRect)frame withJview:(jobject)jView withJproperties:(jobj
230230
if ([currSysVer compare:reqSysVer options:NSNumericSearch] != NSOrderedAscending) {
231231
displayLink = [[UIScreen mainScreen] displayLinkWithTarget:[GlassTimer getDelegate]
232232
selector:@selector(displayLinkUpdate:)];
233-
// 1 is 60hz, 2 is 30 Hz, 3 is 20 Hz ...
234-
[displayLink setFrameInterval:2];
235233
[displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
236234
[displayLink addToRunLoop:[NSRunLoop currentRunLoop] forMode:UITrackingRunLoopMode];
237235
GLASS_LOG("GlassViewGL: displayLink SET");

0 commit comments

Comments
 (0)