fixed orientation 90 degree

ugfx_release_2.6
root 2014-07-06 19:56:54 +03:00
parent 28f9e7f766
commit 76625b646b
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
break;
case GDISP_ROTATE_90:
x = g->p.y;
y = g->p.x;
y = (g->g.Width - g->p.x - 1);
break;
case GDISP_ROTATE_180:
x = g->g.Width - g->p.x - 1;