     
     self.glkView.context = EAGLContext(API: .OpenGLES2)
     assert(self.glkView.context != nil, "Failed to initialise context .OpenGLES2")
+
+    self.setCurrentContext()
     
     self.glkView.delegate = self
     

  }
  
  private func loadGL() {
    EAGLContext.setCurrentContext(self.glkView.context)
    
    let options: [NSObject: AnyObject] = [GLKTextureLoaderOriginBottomLeft: false]
    var error: NSError?
    


extension OpenGLViewController: GLKViewDelegate {
  override func glkView(view: GLKView!, drawInRect rect: CGRect) {
    self.setCurrentContext()

    glClearColor(0.156862745, 0.156862745, 0.156862745, 1)
    glClear(GLenum(GL_COLOR_BUFFER_BIT))
    
