diff --git a/src/scene/itemrenderer_opengl.cpp b/src/scene/itemrenderer_opengl.cpp index 8e9f351810..2e13686df2 100644 --- a/src/scene/itemrenderer_opengl.cpp +++ b/src/scene/itemrenderer_opengl.cpp @@ -164,7 +164,6 @@ void ItemRendererOpenGL::createRenderNode(Item *item, RenderContext *context) .opacity = context->opacityStack.top(), .hasAlpha = true, .coordinateType = UnnormalizedCoordinates, - .scale = scale, .colorDescription = item->colorDescription(), .bufferReleasePoint = nullptr, }); @@ -179,7 +178,6 @@ void ItemRendererOpenGL::createRenderNode(Item *item, RenderContext *context) .opacity = context->opacityStack.top(), .hasAlpha = true, .coordinateType = UnnormalizedCoordinates, - .scale = scale, .colorDescription = item->colorDescription(), .bufferReleasePoint = nullptr, }); @@ -196,7 +194,6 @@ void ItemRendererOpenGL::createRenderNode(Item *item, RenderContext *context) .opacity = context->opacityStack.top(), .hasAlpha = pixmap->hasAlphaChannel(), .coordinateType = NormalizedCoordinates, - .scale = scale, .colorDescription = item->colorDescription(), .bufferReleasePoint = surfaceItem->bufferReleasePoint(), }); @@ -211,7 +208,6 @@ void ItemRendererOpenGL::createRenderNode(Item *item, RenderContext *context) .opacity = context->opacityStack.top(), .hasAlpha = imageItem->image().hasAlphaChannel(), .coordinateType = NormalizedCoordinates, - .scale = scale, .colorDescription = item->colorDescription(), .bufferReleasePoint = nullptr, }); diff --git a/src/scene/itemrenderer_opengl.h b/src/scene/itemrenderer_opengl.h index 0d5ea02d98..fe2e22569d 100644 --- a/src/scene/itemrenderer_opengl.h +++ b/src/scene/itemrenderer_opengl.h @@ -30,7 +30,6 @@ public: qreal opacity = 1; bool hasAlpha = false; TextureCoordinateType coordinateType = UnnormalizedCoordinates; - qreal scale = 1.0; ColorDescription colorDescription; std::shared_ptr bufferReleasePoint; };