Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-106824

Bad casts in qquickshapegenericrenderer.cpp

XMLWordPrintable

    • All
    • 2afb9fe157 (qt/qtdeclarative/dev) 2afb9fe157 (qt/tqtc-qtdeclarative/dev) 74e7f9ccc5 (qt/qtdeclarative/6.3) 74e7f9ccc5 (qt/tqtc-qtdeclarative/6.3) 86a45ca998 (qt/tqtc-qtdeclarative/6.2) a8b6da52e5 (qt/qtdeclarative/6.4)

      You find wrong static_casts in the various updateUniformData and updateSampledImage methods of the Rhi Shaders in qquickshapegenericrenderer.cpp.

      In QQuickShapeRadialGradientRhiShader it should be QQuickShapeRadialGradientMaterial and in QQuickShapeConicalGradientRhiShader it should be QQuickShapeConicalGradientMaterial - instead of QQuickShapeLinearGradientMaterial.

      As all materials classes have the layout it should be no crashes caused by the bad casts - so I would give a low priority.

        For Gerrit Dashboard: QTBUG-106824
        # Subject Branch Project Status CR V

            lagocs Laszlo Agocs
            uwe Uwe Rathmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes