Kaydet (Commit) e544b320 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

fix ellipse rendering completely

Change-Id: I861ab0442f85f54d4a390d46c784bcf03545ae15
üst ddd4458d
......@@ -372,7 +372,7 @@ void OpenGLSalGraphicsImpl::DrawPolygon( sal_uInt32 nPoints, const SalPoint* pPt
{
const ::basegfx::B2DPoint& rPt( aResult.getB2DPoint(i) );
aVertices[j++] = 2 * rPt.getX() / nWidth - 1.0f;
aVertices[j++] = 2 * rPt.getY() / nHeight - 1.0f;
aVertices[j++] = 1.0f - 2 * rPt.getY() / nHeight;
}
glEnableVertexAttribArray( GL_ATTRIB_POS );
......
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