[DEV] correct android set of the wondows size ratio
This commit is contained in:
parent
80dfa5fdbf
commit
a415669c60
2
external/etk
vendored
2
external/etk
vendored
@ -1 +1 @@
|
||||
Subproject commit 7ef816f50c558c51814114a2eeb9b04fa2db3ee4
|
||||
Subproject commit 0f6a9a502ed69aeb88fb49808d60d904c0c5f683
|
@ -15,7 +15,7 @@
|
||||
#include <ewol/renderer/os/eSystem.h>
|
||||
#include <ewol/renderer/audio/audio.h>
|
||||
#include <ewol/renderer/os/gui.h>
|
||||
#include <ewol/DisplayConv.h>
|
||||
#include <ewol/Dimension.h>
|
||||
|
||||
// get a resources from the java environement :
|
||||
static JNIEnv* JavaVirtualMachinePointer = NULL; // the JVM
|
||||
@ -417,7 +417,7 @@ extern "C"
|
||||
void Java_org_ewol_interfaceJNI_DisplayPropertyMetrics( JNIEnv* env, jobject thiz, jfloat ratioX, jfloat ratioY)
|
||||
{
|
||||
// set the internal system ratio properties ...
|
||||
ewol::SetPixelPerInch(vec2(ratioX,ratioY));
|
||||
ewol::dimension::SetPixelRatio(vec2(ratioX,ratioY), ewol::Dimension::Inch);
|
||||
}
|
||||
|
||||
enum {
|
||||
|
Loading…
x
Reference in New Issue
Block a user