mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
Merge pull request #37744 from madmiraal/fix-X11-device-info-precision-loss
Fix loss of precision in X11 device info.
This commit is contained in:
commit
7e93554961
@ -254,10 +254,10 @@ bool DisplayServerX11::_refresh_device_info() {
|
||||
bool absolute_mode = false;
|
||||
int resolution_x = 0;
|
||||
int resolution_y = 0;
|
||||
int range_min_x = 0;
|
||||
int range_min_y = 0;
|
||||
int range_max_x = 0;
|
||||
int range_max_y = 0;
|
||||
double range_min_x = 0;
|
||||
double range_min_y = 0;
|
||||
double range_max_x = 0;
|
||||
double range_max_y = 0;
|
||||
int pressure_resolution = 0;
|
||||
int tilt_resolution_x = 0;
|
||||
int tilt_resolution_y = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user