src/video/cocoa/SDL_cocoawindow.m
changeset 7200 54c9f310f7c0
parent 7191 75360622e65f
child 7202 373d9e4e8ad9
     1.1 --- a/src/video/cocoa/SDL_cocoawindow.m	Mon May 20 12:25:16 2013 -0700
     1.2 +++ b/src/video/cocoa/SDL_cocoawindow.m	Mon May 20 22:05:49 2013 -0700
     1.3 @@ -1131,6 +1131,7 @@
     1.4      if (info->version.major <= SDL_MAJOR_VERSION) {
     1.5          info->subsystem = SDL_SYSWM_COCOA;
     1.6          info->info.cocoa.window = nswindow;
     1.7 +        info->info.cocoa.view = [nswindow contentView];
     1.8          return SDL_TRUE;
     1.9      } else {
    1.10          SDL_SetError("Application not compiled with SDL %d.%d\n",