Skip to content
  • Emmanuele Bassi's avatar
    [x11] Unset the GL context when re-realizing · 4b285e02
    Emmanuele Bassi authored
    Setting the stage window using the set_stage_foreign() method will
    lead to a re-realization. We need to make sure that the Drawable
    currently associated to the GL context is set to None, to avoid a
    BadDrawable error or, if we're unlucky, a segfault in the X server.
    4b285e02