Skip to content
Snippets Groups Projects
Commit 1ab2628f authored by Dongwon Kim's avatar Dongwon Kim Committed by Gerd Hoffmann
Browse files

ui/gtk-egl: un-tab and re-tab should destroy egl surface and context


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.

v2: enabling opengl specific routines only when CONFIG_OPENGL is set

Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: default avatarDongwon Kim <dongwon.kim@intel.com>
Signed-off-by: default avatarKhairul Anuar Romli <khairul.anuar.romli@intel.com>
Message-Id: <20211104065153.28897-1-dongwon.kim@intel.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent e86a93f5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment