Remove unnecessary variable

This commit is contained in:
Aleix Pol 2023-11-21 17:30:08 +01:00 committed by Vlad Zahorodnii
parent 97e75c858a
commit 4540925f3f

View file

@ -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<std::shared_ptr<GLTexture>> textures;
Q_ASSERT(itConv->plane.count() == uint(buffer->dmabufAttributes()->planeCount));