• Sam Lantinga's avatar
    Reverted revision 3416, fixing bug #589 · 1725937a
    Sam Lantinga authored
    http://bugzilla.libsdl.org/show_bug.cgi?id=589
    
    I was going to add the current window to the OpenGL context info, but that
    doesn't fix the case where you set the current context to NULL and then set
    the current context to the same window it had before.
    
    This also doesn't take into account changes to the window that might affect
    the context, such as viewport changing or fullscreen/windowed mode changing.
    
    Any ideas?
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402759
    1725937a
SDL_video.c 64.6 KB