diff --git a/navy-apps/libs/libndl/NDL.c b/navy-apps/libs/libndl/NDL.c index bebbcb9..efd3e97 100644 --- a/navy-apps/libs/libndl/NDL.c +++ b/navy-apps/libs/libndl/NDL.c @@ -88,8 +88,8 @@ void NDL_DrawRect(uint32_t *pixels, int x, int y, int w, int h) { int dev_w, dev_h; _get_screen(&dev_w, &dev_h); - int _x = (dev_w - w) / 2; - int _y = (dev_h - h) / 2; + int _x = 0; //(dev_w - w) / 2; + int _y = 0; //(dev_h - h) / 2; printf("NDL_DrawRect: %d,%d, dev %d,%d, wh %d,%d, xy %d,%d\n", _x, _y, dev_w, dev_h, w, h, x, y); for (int i = 0; i < h; i ++) { // printf("log:%d,%d, dev %d,%d, wh %d,%d, xy %d,%d\n", _x, _y + i, dev_w, dev_h, w, h, x, y);