Seems still needed in some resolutions, not sure why.
Change-Id: I59cf3346ee3a69e7733e6e2b93e538a67acfaeb3
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. */