src/video/bwindow/SDL_bvideo.cc
changeset 5926 d9d57de9fb4e
parent 5921 4cec9ba57dfb
child 5928 a3a52295bc0d
     1.1 --- a/src/video/bwindow/SDL_bvideo.cc	Mon Jul 25 16:46:55 2011 +0000
     1.2 +++ b/src/video/bwindow/SDL_bvideo.cc	Tue Jul 26 10:13:34 2011 +0000
     1.3 @@ -59,10 +59,11 @@
     1.4  BE_CreateDevice(int devindex)
     1.5  {
     1.6      SDL_VideoDevice *device;
     1.7 -    SDL_VideoData *data;
     1.8 +    /*SDL_VideoData *data;*/
     1.9  
    1.10      /* Initialize all variables that we clean on shutdown */
    1.11      device = (SDL_VideoDevice *) SDL_calloc(1, sizeof(SDL_VideoDevice));
    1.12 +#if 0
    1.13      if (device) {
    1.14          data = (struct SDL_VideoData *) SDL_calloc(1, sizeof(SDL_VideoData));
    1.15      } else {
    1.16 @@ -75,7 +76,8 @@
    1.17          }
    1.18          return NULL;
    1.19      }
    1.20 -    device->driverdata = data;
    1.21 +#endif
    1.22 +    device->driverdata = NULL; /*data;*/
    1.23  
    1.24  /* TODO: Figure out what sort of initialization needs to go here */
    1.25