src/video/cocoa/SDL_cocoaopengl.m
changeset 1970 db3ba6c0d0df
parent 1952 420716272158
child 1973 81255f93dfcd
     1.1 --- a/src/video/cocoa/SDL_cocoaopengl.m	Sun Aug 06 00:09:04 2006 +0000
     1.2 +++ b/src/video/cocoa/SDL_cocoaopengl.m	Sun Aug 06 04:39:13 2006 +0000
     1.3 @@ -268,6 +268,7 @@
     1.4          NSOpenGLContext *nscontext = (NSOpenGLContext *)context;
     1.5  
     1.6          [nscontext setView:[windowdata->window contentView]];
     1.7 +        [nscontext update];
     1.8          [nscontext makeCurrentContext];
     1.9      } else {
    1.10          [NSOpenGLContext clearCurrentContext];