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:
authorDarafei Praliaskouski <komzpa@gmail.com>2013-05-20 16:19:46 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:55:05 +0300
commitaf22b6189d45e66edc839a4bc4fc66364023f860 (patch)
tree0f26745d15c5cf47ac6d1fb28d36b04a560fde9a /graphics
parent914965b33cd401d6fa2fb7bbc4f892adca17ab19 (diff)
[graphics] put back hack for some GPU's with comment
Diffstat (limited to 'graphics')
-rw-r--r--graphics/pen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/pen.cpp b/graphics/pen.cpp
index 2686331e96..6b993f25fd 100644
--- a/graphics/pen.cpp
+++ b/graphics/pen.cpp
@@ -43,6 +43,9 @@ namespace graphics
m_isSolid = true;
else
{
+ // hack for Samsung GT-S5570 (GPU floor()'s texture pattern width)
+ m_w = max(m_w, 1.0);
+
buffer_vector<double, 4> tmpV;
copy(pattern, pattern + patternSize, back_inserter(tmpV));