On Fri, Jul 22, 2016 at 5:05 PM, Frediano Ziglio <fziglio@xxxxxxxxxx> wrote:
before?Why instead of calling it recursively you just move the check
something like
if (!d->egl.context_ready) {
initialize context ...
}
if (d->egl.context_ready) {
use context (as current code) ...
}
perhaps would be even better to call spice_egl_init before
set_egl_enabled
> }
> }
>
Frediano
I wanted to do it like that originally, but didn't want to make a second runtime if check.
Lukas Venhoda
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel