]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/planar.c
inputest manipulates d and q like scroll.exe
[16.git] / src / lib / planar.c
index 52055cf49654960f99ba080d90db8bee070fb22a..c15c39c5d3e92d9106970d984233861a891ed890 100755 (executable)
@@ -28,8 +28,6 @@
 \r
 #include "src/lib/planar.h"\r
 \r
-extern byte *modexNewPal();\r
-\r
 /* creates a planar buffer from the bitmap data.\r
    The planar buffer is dynamically allocated, and should\r
    be destroyed with the planar_buf_free function when no longer\r
@@ -89,7 +87,7 @@ planar_buf_alloc(word width, word height) {
 \r
        /* allocate the planes */\r
        for(i=0; i<4; i++) {\r
-       p->plane[i] = malloc(p->height * p->pwidth);\r
+               p->plane[i] = malloc(p->height * p->pwidth);\r
        }\r
 \r
        return p;\r