fixed orientation 90 degree
This commit is contained in:
parent
28f9e7f766
commit
76625b646b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user