From 4540925f3f6167471d444ced01af717251f26603 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Tue, 21 Nov 2023 17:30:08 +0100 Subject: [PATCH] Remove unnecessary variable --- .../scenes/opengl/basiceglsurfacetexture_wayland.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/platformsupport/scenes/opengl/basiceglsurfacetexture_wayland.cpp b/src/platformsupport/scenes/opengl/basiceglsurfacetexture_wayland.cpp index 6dac384a2e..acf8af052a 100644 --- a/src/platformsupport/scenes/opengl/basiceglsurfacetexture_wayland.cpp +++ b/src/platformsupport/scenes/opengl/basiceglsurfacetexture_wayland.cpp @@ -125,7 +125,6 @@ bool BasicEGLSurfaceTextureWayland::loadDmabufTexture(GraphicsBuffer *buffer) }; const auto attribs = buffer->dmabufAttributes(); - auto format = formatInfo(attribs->format); if (auto itConv = s_drmConversions.find(buffer->dmabufAttributes()->format); itConv != s_drmConversions.end()) { QList> textures; Q_ASSERT(itConv->plane.count() == uint(buffer->dmabufAttributes()->planeCount));