Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-10-08 20:29:01 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2014-10-08 20:31:08 +0400
commitfe9394741b7ac9ca153c602d6f58664b27438d56 (patch)
tree26157f4630ea3be17420c1485af5bece11dc369d /source/blender/freestyle/intern
parent14df7de9163ef6bc0a12303abed3a50697038a8c (diff)
Freestyle: silence a GCC warning (-Wunused-function).
Diffstat (limited to 'source/blender/freestyle/intern')
-rw-r--r--source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp b/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp
index 8d0720d83d9..11b7df7ecec 100644
--- a/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp
+++ b/source/blender/freestyle/intern/stroke/BasicStrokeShaders.cpp
@@ -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 {
//