Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix width/height issues for Maemo and MeeGo

  • Loading branch information...
commit 490ea3ed10b020f72fa44fbeede0ddde7bd13135 1 parent ba9adad
@thp authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  modules/cuttherope.c
  2. +2 −2 n9xx/platform.c
View
2  modules/cuttherope.c
@@ -655,7 +655,7 @@ cuttherope_init(struct SupportModule *self, int width, int height, const char *h
self->priv->JNI_OnLoad(VM_M, NULL);
- self->priv->nativeResize(ENV_M, GLOBAL_M, width, height);
+ self->priv->nativeResize(ENV_M, GLOBAL_M, height, width);
self->priv->global->module_hacks->gles_landscape_to_portrait = 1;
#ifdef PANDORA
View
4 n9xx/platform.c
@@ -103,12 +103,12 @@ int platform_init()
int platform_getscreenheight()
{
- return screen->w;
+ return screen->h;
}
int platform_getscreenwidth()
{
- return screen->h;
+ return screen->w;
}
int platform_update()
Please sign in to comment.
Something went wrong with that request. Please try again.