[graphics] put back hack for some GPU's with comment

This commit is contained in:
Darafei Praliaskouski 2013-05-20 15:19:46 +03:00 committed by Alex Zolotarev
parent 914965b33c
commit af22b6189d

View file

@ -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));