• A
    Fix corrupted rendering of images · b38ae4ab
    Adam Barth 提交于
    When navigating from one app to another, we create a new Android window and
    destroy the old one. Previously, when we destroyed the old window after
    creating the new window, we would destroy the Ganesh context after making the
    GL context for the new window current, causing us to corrupt the GL state in
    the new window. After this CL, we call MakeCurrent before destroying the Ganesh
    context so that it interacts with the proper GL context.
    
    R=jackson@google.com
    
    Review URL: https://codereview.chromium.org/1214263002.
    b38ae4ab
ganesh_context.cc 1.3 KB