diff options
author | Alex Montgomery <apmontgomery@gmail.com> | 2014-01-06 17:12:30 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-13 18:50:05 +0100 |
commit | 20f533671ab37be8a5868fecc64dc9d5e5e3ada0 (patch) | |
tree | ec33aa1a055841199bec6fc01b833715eddf8268 /src/qml/qml/v8 | |
parent | cb2ac154273a8c07a1e4a14246ae22f6e0deaeda (diff) |
Use QSGGeometry::lineWidth() when drawing GL_POINTS
Since glLineWidth doesn't affect the drawing of GL_POINTS, it makes sense
to use the lineWidth member to affect point size when drawing points.
[ChangeLog][QtQuick][QSGGeometry] Changed QSGGeometry::lineWidth
to also affect point size (glPointSize) when drawing GL_POINTS, in
addition to the existing behavior of affecting line width when drawing
GL_LINES, GL_LINE_STRIP, and GL_LINE_LOOP.
Task-number: QTBUG-35772
Change-Id: I0ea73f9261509e8d356f91a063dc90dc0f8980bd
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/qml/qml/v8')
0 files changed, 0 insertions, 0 deletions