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

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantin Shalnev <c.shalnev@corp.mail.ru>2015-08-19 17:31:37 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 03:01:55 +0300
commit9fe1cc12c101d60a3e10c8ce44ab35bba0ea7d68 (patch)
tree091f4df20f900cfa54bd47da133873fb846bfbb8 /render/cpu_drawer.cpp
parent487a28e33e7f2f4f4f26aeaffcdac379bfd0078b (diff)
Added background color support for software renderer
Diffstat (limited to 'render/cpu_drawer.cpp')
-rw-r--r--render/cpu_drawer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/cpu_drawer.cpp b/render/cpu_drawer.cpp
index eca1dcce6f..177f41c110 100644
--- a/render/cpu_drawer.cpp
+++ b/render/cpu_drawer.cpp
@@ -172,9 +172,9 @@ CPUDrawer::CPUDrawer(Params const & params)
{
}
-void CPUDrawer::BeginFrame(uint32_t width, uint32_t height)
+void CPUDrawer::BeginFrame(uint32_t width, uint32_t height, graphics::Color const & bgColor)
{
- m_renderer->BeginFrame(width, height);
+ m_renderer->BeginFrame(width, height, bgColor);
}
void CPUDrawer::Flush()