8163408: Fix wrong prototype of getNativeScaleFactor() in systemScale.h
Reviewed-by: serb
This commit is contained in:
parent
bb95ea6101
commit
0e13ad60ad
@ -26,7 +26,7 @@
|
||||
#include <signal.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
double getNativeScaleFactor();
|
||||
double getNativeScaleFactor(char *output_name);
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -806,7 +806,7 @@ SplashGetScaledImageName(const char* jarName, const char* fileName,
|
||||
#ifndef __linux__
|
||||
return JNI_FALSE;
|
||||
#endif
|
||||
*scaleFactor = getNativeScaleFactor();
|
||||
*scaleFactor = getNativeScaleFactor(NULL);
|
||||
if (*scaleFactor == 2.0) {
|
||||
size_t length = 0;
|
||||
char *stringToAppend = ".java-scale2x";
|
||||
|
Loading…
Reference in New Issue
Block a user