< prev index next >

src/java.desktop/unix/native/libsplashscreen/splashscreen_sys.c

Print this page
rev 15262 : 8163408: Fix wrong prototype of getNativeScaleFactor() in systemScale.h

@@ -804,11 +804,11 @@
 {
     *scaleFactor = 1;
 #ifndef __linux__
     return JNI_FALSE;
 #endif
-    *scaleFactor = getNativeScaleFactor();
+    *scaleFactor = getNativeScaleFactor(NULL);
     if (*scaleFactor == 2.0) {
         size_t length = 0;
         char *stringToAppend = ".java-scale2x";
         char *dupFileName = strdup(fileName);
         char *fileExtension = strrchr(dupFileName, '.');
< prev index next >