Comment 65 for bug 862964

Revision history for this message
In , John Stanley (jpsinthemix) wrote :

(In reply to comment #53)
> in kwin/libkwineffects/kwinglutils.cpp:184
> please try adding
>
> Q_ASSERT((n>1 && last > 4) || last > 5);
>
and try this after trying the mod below

> could be that the different texture layout creates textures < 64x64 and your
> GPU/driver doesn't like that.
>
> In case that happens you'll get a crash. To avoid that and try a fix instead
>
> if (n > 1)
> return 1 << (qMax(last,5) + 1);
> return 1 << qMax(last,6);

I'll try this first