From 85d3d306b37e6518c36dce73e49ed0eb7332fd95 Mon Sep 17 00:00:00 2001 From: Mateusz Majewski Date: Wed, 3 Jul 2024 09:30:36 +0200 Subject: [PATCH] Readd the init hack Seems still needed in some resolutions, not sure why. Change-Id: I59cf3346ee3a69e7733e6e2b93e538a67acfaeb3 --- tizen/src/ui/qt5_supplement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tizen/src/ui/qt5_supplement.cpp b/tizen/src/ui/qt5_supplement.cpp index 13abcc49ac..f37c1145b3 100644 --- a/tizen/src/ui/qt5_supplement.cpp +++ b/tizen/src/ui/qt5_supplement.cpp @@ -629,7 +629,7 @@ uint32_t qt5_gl_refresh_internal(uint32_t tex, uint32_t width, uint32_t height, bool ok = dpy_item_gen[item_id] == 0 || item->available; if (ok) { ret = item->tex; - if (dpy_item_gen[item_id] != gen) { + if (dpy_item_gen[item_id] != gen || /* HACK HACK HACK */ item->tex < 25) { /* This tells the caller that the texture should not be used anymore. * Preferably we could handle this right here, but the caller can do it * conveniently and I couldn't get compilation to work. */ -- 2.34.1