aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/scenegraph/openglunderqml/squircle.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2019-06-24 16:53:46 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2019-07-04 19:48:40 +0200
commitfc40f0738e55725d4449059578510802dbf596ec (patch)
treed046049be94b417bc72f6e01dbd9e75034ff93b6 /examples/quick/scenegraph/openglunderqml/squircle.h
parentae4765265b2ed9458b6ba9983284d850cc8e2d6d (diff)
Enable line width on the rhi code path
So examples like customgeometry show up as they should now, at least with OpenGL and Vulkan (when wide lines are supported). This way applications drawing lines on Qt Quick on OpenGL can continue functioning on Qt Quick on RHI on OpenGL as well. Those relying on drawing points with a size set from C++ and not from the vertex shader will need to migrate, but this has not been supported on OpenGL ES in Qt 5 either. Those wishing full cross-platform, cross-graphics-API compatibility should avoid relying on wide lines and points completely. The unsupported cases get a helpful warning now. Change-Id: If4255ccc46ad5d91a3a10d69d1c90260055037cc Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/quick/scenegraph/openglunderqml/squircle.h')
0 files changed, 0 insertions, 0 deletions