Commit 00834786 authored by Committed by Emmanuele Bassi
GDK GL context's should associate with "window->impl_window" not "window"
In some layouts this inconsistency results in crashes in gdk_gl_texture_from_surface() since it uses gdk_gl_context_get_window() but the returned window is not the same as the one that is being painted so "window->current_paint.surface" is NULL. I saw this problem when packing a GdkGLArea into a GtkPaned. https://bugzilla.gnome.org/show_bug.cgi?id=743146
Showing with 3 additions and 3 deletions