summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/opengl')
-rw-r--r--vcl/opengl/gdiimpl.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/opengl/gdiimpl.cxx b/vcl/opengl/gdiimpl.cxx
index 137a84d27104..09ffbf655dbf 100644
--- a/vcl/opengl/gdiimpl.cxx
+++ b/vcl/opengl/gdiimpl.cxx
@@ -472,7 +472,6 @@ void OpenGLSalGraphicsImpl::DrawLine( long nX1, long nY1, long nX2, long nY2 )
//determine angle of the line to horizontal
double tx=0,ty=0; //core thinkness of a line
double Rx=0,Ry=0; //fading edge of a line
- double cx=0,cy=0; //cap of a line
double dx=x2-x1;
double dy=y2-y1;
if ( w < 3)
@@ -513,7 +512,6 @@ void OpenGLSalGraphicsImpl::DrawLine( long nX1, long nY1, long nX2, long nY2 )
double L=sqrt(dx*dx+dy*dy);
dx/=L;
dy/=L;
- cx=-0.6*dy; cy=0.6*dx;
tx=t*dx; ty=t*dy;
Rx=R*dx; Ry=R*dy;
}