X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplanar.c;h=3fd1c5ed2b25b85ac5a5849bf9d282ea2d010cf2;hb=3d36f50834f46234bb598624e526e97d5bf9678f;hp=52055cf49654960f99ba080d90db8bee070fb22a;hpb=29050ce6a22ce3d6c47183d6946e81ea25b6b5c7;p=16.git diff --git a/src/lib/planar.c b/src/lib/planar.c index 52055cf4..3fd1c5ed 100755 --- a/src/lib/planar.c +++ b/src/lib/planar.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2015 sparky4 & pngwen & andrius4669 + * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 * * This file is part of Project 16. * @@ -28,8 +28,6 @@ #include "src/lib/planar.h" -extern byte *modexNewPal(); - /* creates a planar buffer from the bitmap data. The planar buffer is dynamically allocated, and should be destroyed with the planar_buf_free function when no longer @@ -89,7 +87,7 @@ planar_buf_alloc(word width, word height) { /* allocate the planes */ for(i=0; i<4; i++) { - p->plane[i] = malloc(p->height * p->pwidth); + p->plane[i] = malloc(p->height * p->pwidth); } return p;