test/testwm2.c
changeset 7034 3a5a53435ebd
parent 6788 036f53f2f5aa
child 7191 75360622e65f
equal deleted inserted replaced
7033:3b12bae22f9e 7034:3a5a53435ebd
    40         "sizeNS",
    40         "sizeNS",
    41         "sizeALL",
    41         "sizeALL",
    42         "NO",
    42         "NO",
    43         "hand",
    43         "hand",
    44     };
    44     };
    45     SDL_assert(SDL_arraysize(cursorNames) == SDL_NUM_SYSTEM_CURSORS);
       
    46 
    45 
    47     int i, done;
    46     int i, done;
    48     SDL_Event event;
    47     SDL_Event event;
    49     int system_cursor = -1;
    48     int system_cursor = -1;
    50     SDL_Cursor *cursor = NULL;
    49     SDL_Cursor *cursor = NULL;
       
    50 
       
    51     SDL_assert(SDL_arraysize(cursorNames) == SDL_NUM_SYSTEM_CURSORS);
    51 
    52 
    52     /* Initialize test framework */
    53     /* Initialize test framework */
    53     state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO);
    54     state = SDLTest_CommonCreateState(argv, SDL_INIT_VIDEO);
    54     if (!state) {
    55     if (!state) {
    55         return 1;
    56         return 1;