src/main/haiku/SDL_BApp.h
changeset 12201 8bdc4d340419
parent 12082 09999a0e8f9a
child 12503 806492103856
equal deleted inserted replaced
12200:c0b17b32b95e 12201:8bdc4d340419
   196     void SetCurrentContext(BGLView *newContext) {
   196     void SetCurrentContext(BGLView *newContext) {
   197         if(_current_context)
   197         if(_current_context)
   198             _current_context->UnlockGL();
   198             _current_context->UnlockGL();
   199         _current_context = newContext;
   199         _current_context = newContext;
   200         if (_current_context)
   200         if (_current_context)
   201 	        _current_context->LockGL();
   201             _current_context->LockGL();
   202     }
   202     }
   203 #endif
   203 #endif
   204 
   204 
   205 private:
   205 private:
   206     /* Event management */
   206     /* Event management */