Readd the init hack
authorMateusz Majewski <m.majewski2@samsung.com>
Wed, 3 Jul 2024 07:30:36 +0000 (09:30 +0200)
committerMateusz Majewski <m.majewski2@samsung.com>
Wed, 3 Jul 2024 07:30:36 +0000 (09:30 +0200)
Seems still needed in some resolutions, not sure why.

Change-Id: I59cf3346ee3a69e7733e6e2b93e538a67acfaeb3

tizen/src/ui/qt5_supplement.cpp

index 13abcc49accde47e3a6f3a14fe38e4f8dad08f46..f37c1145b3bd09a7e2150ec4d6b370e94afcb356 100644 (file)
@@ -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. */