mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-26 07:43:36 +01:00
Fix bug causing the screen to go blank when resizing the window using scale factors on Windows.
This commit is contained in:
1 parent
984554fe7c
commit
8a2b50af64
2 files changed
+4
-4
No files matched your search
@@ -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:
|
||||
|
||||
@@ -242,8 +242,10 @@ namespace MainWindow
|
||||
osm.Show(g->T(message), 2.0f);
|
||||
}
|
||||
|
||||
UpdateScreenScale(width, height);
|
||||
NativeMessageReceived("gpu resized", "");
|
||||
if (!noWindowMovement) {
|
||||
UpdateScreenScale(width, height);
|
||||
NativeMessageReceived("gpu resized", "");
|
||||
}
|
||||
}
|
||||
|
||||
void SetWindowSize(int zoom) {
|
||||
|
||||
Reference in new issue
Block a user