mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix bug causing the screen to go blank when resizing the window using scale factors on Windows.
This commit is contained in:
parent
984554fe7c
commit
8a2b50af64
2 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue