mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 17:01:18 +02:00
fix the half resoolution problem
This commit is contained in:
parent
8b70f1771e
commit
29573aaa83
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ bool OculusMobileDisplayPlugin::internalActivate() {
|
||||||
|
|
||||||
withOvrJava([&](const ovrJava* java){
|
withOvrJava([&](const ovrJava* java){
|
||||||
_renderTargetSize = glm::uvec2{
|
_renderTargetSize = glm::uvec2{
|
||||||
vrapi_GetSystemPropertyInt(java, VRAPI_SYS_PROP_SUGGESTED_EYE_TEXTURE_WIDTH),
|
2 * vrapi_GetSystemPropertyInt(java, VRAPI_SYS_PROP_SUGGESTED_EYE_TEXTURE_WIDTH),
|
||||||
vrapi_GetSystemPropertyInt(java, VRAPI_SYS_PROP_SUGGESTED_EYE_TEXTURE_HEIGHT),
|
vrapi_GetSystemPropertyInt(java, VRAPI_SYS_PROP_SUGGESTED_EYE_TEXTURE_HEIGHT),
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue