]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16render.c
p16 is being worked on a bunch by me wwww [16_ca needs huge amounts of work and I...
[16.git] / src / lib / 16render.c
index d159c2a312d3bddc853a714e51c4d192b272b09d..0b4a0497c445a06f7e7569307e992944bafcc585 100755 (executable)
@@ -52,7 +52,7 @@ void modexDrawPBufRegion      (page_t *page, int x, int y, int rx, int ry, int rw, in
        //printf("%d,%d p(%d,%d) r(%d,%d) rwh(%d,%d)\n", x, y, px, py, rx, ry, rw, rh);\r
        for(plane=0; plane < 4; plane++) {\r
                i=PEEE+prh;\r
-               modexSelectPlane(PLANE(plane-1));\r
+               omodexSelectPlane(PLANE(plane-1));\r
                for(; y < py+rh; y++) {\r
                                _fmemcpy(page->data + (((page->width/4) * (y)) + ((x) / 4)), &(p->plane[plane][i]), prw);\r
                                i+=PE;\r
@@ -120,7 +120,7 @@ oldDrawBmp(byte far* page, int x, int y, bitmap_t *bmp, byte sprite)
 \r
        /* TODO Make this fast.  It's SLOOOOOOW */\r
        for(plane=0; plane < 4; plane++) {\r
-               modexSelectPlane(PLANE(plane+x));\r
+               omodexSelectPlane(PLANE(plane+x));\r
                for(px = plane; px < bmp->width; px+=4) {\r
                        offset=px;\r
                        for(py=0; py<bmp->height; py++) {\r