[DEV] correct android set of the wondows size ratio

This commit is contained in:
Edouard DUPIN 2013-04-17 21:19:46 +02:00
parent 80dfa5fdbf
commit a415669c60
2 changed files with 3 additions and 3 deletions

2
external/etk vendored

@ -1 +1 @@
Subproject commit 7ef816f50c558c51814114a2eeb9b04fa2db3ee4 Subproject commit 0f6a9a502ed69aeb88fb49808d60d904c0c5f683

View File

@ -15,7 +15,7 @@
#include <ewol/renderer/os/eSystem.h> #include <ewol/renderer/os/eSystem.h>
#include <ewol/renderer/audio/audio.h> #include <ewol/renderer/audio/audio.h>
#include <ewol/renderer/os/gui.h> #include <ewol/renderer/os/gui.h>
#include <ewol/DisplayConv.h> #include <ewol/Dimension.h>
// get a resources from the java environement : // get a resources from the java environement :
static JNIEnv* JavaVirtualMachinePointer = NULL; // the JVM 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) void Java_org_ewol_interfaceJNI_DisplayPropertyMetrics( JNIEnv* env, jobject thiz, jfloat ratioX, jfloat ratioY)
{ {
// set the internal system ratio properties ... // set the internal system ratio properties ...
ewol::SetPixelPerInch(vec2(ratioX,ratioY)); ewol::dimension::SetPixelRatio(vec2(ratioX,ratioY), ewol::Dimension::Inch);
} }
enum { enum {