From ceb284f51fc9b26db2cdda1e01e21824317ffc50 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 6 Mar 2014 15:50:47 +0100 Subject: fix OpenGL error when line width is 0 Change-Id: Ifc70c632b1f26f77c253edb17cd0b29715389614 --- chart2/source/view/main/OpenGLRender.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2') 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 ) -- cgit