src/video/cocoa/SDL_cocoaopengl.m
changeset 3688 6512cba48440
parent 3685 64ce267332c6
child 4498 3d91e31fcf71
     1.1 --- a/src/video/cocoa/SDL_cocoaopengl.m	Thu Jan 21 07:22:11 2010 +0000
     1.2 +++ b/src/video/cocoa/SDL_cocoaopengl.m	Thu Jan 21 07:28:01 2010 +0000
     1.3 @@ -212,7 +212,7 @@
     1.4          if (window->flags & SDL_WINDOW_FULLSCREEN) {
     1.5              [nscontext setFullScreen];
     1.6          } else {
     1.7 -            [nscontext setView:[windowdata->window contentView]];
     1.8 +            [nscontext setView:[windowdata->nswindow contentView]];
     1.9              [nscontext update];
    1.10          }
    1.11          [nscontext makeCurrentContext];