screen scale is a float, not an int (working on #514)

This commit is contained in:
Ben Fry
2023-02-18 09:26:58 -05:00
parent b61e86dea1
commit e3c53c8779
+1 -1
View File
@@ -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;
}