src/video/cocoa/SDL_cocoavideo.m
changeset 3660 2d17445190f6
parent 3647 c5925cd41955
child 4457 5e1f9cb9fa98
equal deleted inserted replaced
3659:61eab53fd6fe 3660:2d17445190f6
    20     slouken@libsdl.org
    20     slouken@libsdl.org
    21 */
    21 */
    22 #include "SDL_config.h"
    22 #include "SDL_config.h"
    23 
    23 
    24 #include "SDL_cocoavideo.h"
    24 #include "SDL_cocoavideo.h"
       
    25 #include "SDL_assert.h"
    25 
    26 
    26 /* Initialization/Query functions */
    27 /* Initialization/Query functions */
    27 static int Cocoa_VideoInit(_THIS);
    28 static int Cocoa_VideoInit(_THIS);
    28 static void Cocoa_VideoQuit(_THIS);
    29 static void Cocoa_VideoQuit(_THIS);
    29 
    30 
   152             @"Assertion failure at %s (%s:%d), triggered %u time%s:\n  '%s'",
   153             @"Assertion failure at %s (%s:%d), triggered %u time%s:\n  '%s'",
   153                 data->function, data->filename, data->linenum,
   154                 data->function, data->filename, data->linenum,
   154                 data->trigger_count, (data->trigger_count == 1) ? "" : "s",
   155                 data->trigger_count, (data->trigger_count == 1) ? "" : "s",
   155                 data->condition];
   156                 data->condition];
   156 
   157 
   157     NSLog(msg);
   158     NSLog(@"%s", msg);
   158 
   159 
   159     /*
   160     /*
   160      * !!! FIXME: this code needs to deal with fullscreen modes:
   161      * !!! FIXME: this code needs to deal with fullscreen modes:
   161      * !!! FIXME:  reset to default desktop, runModal, reset to current?
   162      * !!! FIXME:  reset to default desktop, runModal, reset to current?
   162      */
   163      */