summaryrefslogtreecommitdiff
path: root/src/render/Texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Texture.cpp')
-rw-r--r--src/render/Texture.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/render/Texture.cpp b/src/render/Texture.cpp
index 17c416c7..b9797751 100644
--- a/src/render/Texture.cpp
+++ b/src/render/Texture.cpp
@@ -111,9 +111,6 @@ void CTexture::createFromDma(const Aquamarine::SDMABUFAttrs& attrs, void* image)
}
void CTexture::update(uint32_t drmFormat, uint8_t* pixels, uint32_t stride, const CRegion& damage) {
- if (damage.empty())
- return;
-
g_pHyprRenderer->makeEGLCurrent();
const auto format = NFormatUtils::getPixelFormatFromDRM(drmFormat);