summaryrefslogtreecommitdiff
path: root/src/color-map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/color-map.cpp')
-rw-r--r--src/color-map.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/color-map.cpp b/src/color-map.cpp
index d1d199a..7bf7e4e 100644
--- a/src/color-map.cpp
+++ b/src/color-map.cpp
@@ -10,9 +10,7 @@
#include <cassert>
std::unique_ptr<ColorMap>
-ColorMap::FromType(ColorMapType type,
- const sf::Color& bg_color,
- const sf::Color& custom_color)
+ColorMap::Build(ColorMapType type, const sf::Color& bg_color, const sf::Color& custom_color)
{
/* colormaps are not allowed to be translucent */
sf::Color opaque_bg_color(bg_color.r, bg_color.g, bg_color.b, 255);