src/video/psp/SDL_pspvideo.c
changeset 7037 3fedf1f25b94
parent 7009 161b7b6a5303
child 7135 20db445af8c7
equal deleted inserted replaced
7036:8c891504e325 7037:3fedf1f25b94
   221     SDL_WindowData *wdata;
   221     SDL_WindowData *wdata;
   222 
   222 
   223     /* Allocate window internal data */
   223     /* Allocate window internal data */
   224     wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData));
   224     wdata = (SDL_WindowData *) SDL_calloc(1, sizeof(SDL_WindowData));
   225     if (wdata == NULL) {
   225     if (wdata == NULL) {
   226         SDL_OutOfMemory();
   226         return SDL_OutOfMemory();
   227         return -1;
       
   228     }
   227     }
   229 
   228 
   230     /* Setup driver data for this window */
   229     /* Setup driver data for this window */
   231     window->driverdata = wdata;
   230     window->driverdata = wdata;
   232 
   231