fixed orientation 90 degree

This commit is contained in:
root 2014-07-06 19:56:54 +03:00
parent 28f9e7f766
commit 76625b646b

View File

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