From: Mateusz Majewski Date: Wed, 3 Jul 2024 07:30:36 +0000 (+0200) Subject: Readd the init hack X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=85d3d306b37e6518c36dce73e49ed0eb7332fd95;p=sdk%2Femulator%2Fqemu.git Readd the init hack Seems still needed in some resolutions, not sure why. Change-Id: I59cf3346ee3a69e7733e6e2b93e538a67acfaeb3 --- 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. */