comparison Renderer/Engine/viewerPS3.cc @ 984:dbebc7afd08e draft

minor fix
author root@henri.cr.ie.u-ryukyu.ac.jp
date Fri, 01 Oct 2010 01:25:45 +0900
parents fdb36a9c5030
children 37bd2b0694e2
comparison
equal deleted inserted replaced
983:ad2bc8afc7b9 984:dbebc7afd08e
50 fprintf(stderr,"Couldn't initialize SDL: %s\n",SDL_GetError()); 50 fprintf(stderr,"Couldn't initialize SDL: %s\n",SDL_GetError());
51 exit(1); 51 exit(1);
52 } 52 }
53 53
54 screen_info = get_fbdev_addr(); 54 screen_info = get_fbdev_addr();
55
55 uint32_t *pixels = screen_info.fbptr[frame_ndx]; 56 uint32_t *pixels = screen_info.fbptr[frame_ndx];
56 57
57 if (pixels == 0) { 58 if (pixels == 0) {
58 fprintf(stderr, "Cannot get frame buffer!\n"); 59 fprintf(stderr, "Cannot get frame buffer!\n");
59 pixels = (new Uint32[width*height*32/8]); 60 pixels = (new Uint32[width*height*32/8]);