mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
screen scale is a float, not an int (working on #514)
This commit is contained in:
@@ -18,7 +18,7 @@ int main() {
|
||||
INT verticalDPI = GetDeviceCaps(hdc, LOGPIXELSY);
|
||||
//printf("%d %d", horizontalDPI, verticalDPI);
|
||||
// god help us if horizontal != vertical
|
||||
printf("%d", horizontalDPI);
|
||||
printf("%f", horizontalDPI);
|
||||
ReleaseDC(NULL, hdc);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user