Kaydet (Commit) b391832c authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Markus Mohrhard

fix line width

Change-Id: I9db787af08ef646d978106a9c91b95d6c57cf5ba
üst 4de61a66
......@@ -1031,7 +1031,7 @@ void OpenGLRender::SetLine2DColor(sal_uInt8 r, sal_uInt8 g, sal_uInt8 b)
void OpenGLRender::SetLine2DWidth(int width)
{
m_fLineWidth = std::max((float)width / 10.0f, 0.001f);
m_fLineWidth = std::max((float)width / OPENGL_SCALE_VALUE, 0.001f);
}
#if defined( _WIN32 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment