summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-03-06 15:50:47 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-03-06 16:35:33 +0100
commitceb284f51fc9b26db2cdda1e01e21824317ffc50 (patch)
tree8abf81872b7d1f793f4cc13d29a7becbfcdf8fc4 /chart2
parent82299c334037ecaa1eab1ebf799af2ac028f8ec2 (diff)
fix OpenGL error when line width is 0
Change-Id: Ifc70c632b1f26f77c253edb17cd0b29715389614
Diffstat (limited to 'chart2')
-rwxr-xr-xchart2/source/view/main/OpenGLRender.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/OpenGLRender.cxx b/chart2/source/view/main/OpenGLRender.cxx
index 55ce9d50b865..24277b7fba18 100755
--- a/chart2/source/view/main/OpenGLRender.cxx
+++ b/chart2/source/view/main/OpenGLRender.cxx
@@ -675,7 +675,7 @@ OpenGLRender::OpenGLRender(uno::Reference< drawing::XShape > xTarget)
, m_RboID(0)
, m_iWidth(0)
, m_iHeight(0)
- , m_fLineWidth(0)
+ , m_fLineWidth(0.001f)
, mxRenderTarget(xTarget)
, mbArbMultisampleSupported(false)
#if defined( _WIN32 )