Re: [PATCH 1/4] ui/gtk-egl: un-tab and re-tab should destroy egl surface and context

2021-11-02 Thread Gerd Hoffmann
On Thu, Sep 16, 2021 at 05:13:17PM -0700, Dongwon Kim wrote: > An old esurface should be destroyed and set to be NULL when doing > un-tab and re-tab so that a new esurface an context can be created > for the window widget that those will be bound to. Fails to build on windows (probably also on --d

[PATCH 1/4] ui/gtk-egl: un-tab and re-tab should destroy egl surface and context

2021-09-16 Thread Dongwon Kim
An old esurface should be destroyed and set to be NULL when doing un-tab and re-tab so that a new esurface an context can be created for the window widget that those will be bound to. Cc: Gerd Hoffmann Signed-off-by: Dongwon Kim Signed-off-by: Khairul Anuar Romli --- ui/gtk.c | 16