Skip to content

Commit 65113b4

Browse files
committed
FlashWindow: only allow vsync ON
1 parent ea2e866 commit 65113b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lime/_internal/backend/flash/FlashWindow.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ class FlashWindow
305305
{
306306
if (parent.stage != null)
307307
{
308-
return parent.stage.vsyncEnabled = mode == OFF ? false : true;
308+
return parent.stage.vsyncEnabled = mode == ON ? true : false;
309309
}
310310

311311
return false;

0 commit comments

Comments
 (0)