Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Create GLKView before binding it and resuming #1869

Merged
merged 1 commit into from
Jul 11, 2015
Merged

Commits on Jul 11, 2015

  1. Create GLKView before binding it and resuming

    Or: don’t resume the map until the application has entered the foreground.
    
    UIApplicationWillEnterForegroundNotification is posted before UIApplicationDidBecomeActiveNotification, while the application is still in the background. That caused -createGLView to bail but did not cause the rest of -wakeGL: to bail. We would create the GLKView only after attempting to bind it (a no-op), resulting in a black view.
    
    Fixes #1855.
    1ec5 committed Jul 11, 2015
    Configuration menu
    Copy the full SHA
    f96fef8 View commit details
    Browse the repository at this point in the history