forked from enlightenment/efl
evas: fix gl_context to correctly match window description after a change.
This was affecting use of GL backend when having a transparent window. It is actually a fix for a bug reported by Thanatermesis. It has been inspired by D1229. To reproduce the issue just do ELM_ACCEL=gl elementary_test -to "Icon transparent".
This commit is contained in:
parent
bc6b6aa457
commit
59501027c0
|
@ -1065,7 +1065,7 @@ eng_setup(Evas *eo_e, void *in)
|
|||
{
|
||||
Outbuf *ob;
|
||||
|
||||
eng_get_ob(re)->gl_context->references++;
|
||||
eng_window_free(eng_get_ob(re));
|
||||
gl_wins--;
|
||||
|
||||
ob = eng_window_new(info, eo_e,
|
||||
|
@ -1081,7 +1081,6 @@ eng_setup(Evas *eo_e, void *in)
|
|||
eng_get_ob(re)->info->info.rotation,
|
||||
swap_mode);
|
||||
|
||||
eng_window_free(eng_get_ob(re));
|
||||
re->generic.software.ob = NULL;
|
||||
|
||||
eng_window_use(ob);
|
||||
|
|
Loading…
Reference in New Issue