From eacdafe9d772e6074e091c89ffd9cdb8d5b9000a Mon Sep 17 00:00:00 2001 From: louis-langholtz Date: Tue, 26 Jan 2016 14:11:52 -0700 Subject: [PATCH] Fixes bug #1049: iOS orientation change handling re-scales window size by backingScaleFactor. --- src/SFML/Window/iOS/SFAppDelegate.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SFML/Window/iOS/SFAppDelegate.mm b/src/SFML/Window/iOS/SFAppDelegate.mm index 3284b9ac6..09fa42e01 100644 --- a/src/SFML/Window/iOS/SFAppDelegate.mm +++ b/src/SFML/Window/iOS/SFAppDelegate.mm @@ -214,8 +214,8 @@ namespace // Send a Resized event to the current window sf::Event event; event.type = sf::Event::Resized; - event.size.width = size.x * backingScaleFactor; - event.size.height = size.y * backingScaleFactor; + event.size.width = size.x; + event.size.height = size.y; sfWindow->forwardEvent(event); } }