Freestyle: silence a GCC warning (-Wunused-function).

This commit is contained in:
Tamito Kajiyama 2014-10-09 01:29:01 +09:00
parent 14df7de916
commit fe9394741b

@ -50,20 +50,6 @@ extern "C" {
namespace Freestyle {
// Internal function
static void convert(ImBuf *imBuf, float **oArray, unsigned &oSize)
{
oSize = imBuf->x;
*oArray = new float[oSize];
char *pix;
for (unsigned int i = 0; i < oSize; ++i) {
pix = (char *) imBuf->rect + i * 4;
(*oArray)[i] = ((float) pix[2]) / 255.0f;
}
}
namespace StrokeShaders {
//