|
@@ -46,7 +46,7 @@ static void windowToPixelCoords(int *x, int *y)
|
|
*x = int(double(*x) * scale);
|
|
*x = int(double(*x) * scale);
|
|
|
|
|
|
if (y != nullptr)
|
|
if (y != nullptr)
|
|
- *y = int(double(*x) * scale);
|
|
|
|
|
|
+ *y = int(double(*y) * scale);
|
|
}
|
|
}
|
|
|
|
|
|
// And vice versa for setting mouse coordinates.
|
|
// And vice versa for setting mouse coordinates.
|