Fix bug causing the screen to go blank when resizing the window using scale factors on Windows.

This commit is contained in:
Henrik Rydgard committed 2014-02-10 16:22:16 +01:00
1 parent 984554fe7c
commit 8a2b50af64
2 files changed
+4 -4

No files matched your search

-2
View File
@@ -750,11 +750,9 @@ void NativeAxis(const AxisInput &key) {
float xSensitivity = g_Config.iTiltSensitivityX / 50.0;
float ySensitivity = g_Config.iTiltSensitivityY / 50.0;
//now transform out current tilt to the calibrated coordinate system
Tilt trueTilt = GenTilt(baseTilt, currentTilt, g_Config.bInvertTiltX, g_Config.bInvertTiltY, g_Config.fDeadzoneRadius, xSensitivity, ySensitivity);
//now send the appropriate tilt event
switch (g_Config.iTiltInputType) {
case TILT_ANALOG: