comparison src/video/svga/SDL_svgavideo.c @ 1:cf2af46e9e2a

Changes since SDL 1.2.0 release
author Sam Lantinga <slouken@lokigames.com>
date Thu, 26 Apr 2001 16:50:19 +0000
parents 74212992fb08
children 3647c809813d
comparison
equal deleted inserted replaced
0:74212992fb08 1:cf2af46e9e2a
368 return(NULL); 368 return(NULL);
369 } 369 }
370 370
371 /* Set up the new mode framebuffer */ 371 /* Set up the new mode framebuffer */
372 current->flags = (SDL_FULLSCREEN|SDL_HWSURFACE); 372 current->flags = (SDL_FULLSCREEN|SDL_HWSURFACE);
373 if ( bpp == 8 ) {
374 /* FIXME: What about DirectColor? */
375 current->flags |= SDL_HWPALETTE;
376 }
373 current->w = width; 377 current->w = width;
374 current->h = height; 378 current->h = height;
375 current->pitch = modeinfo->linewidth; 379 current->pitch = modeinfo->linewidth;
376 current->pixels = vga_getgraphmem(); 380 current->pixels = vga_getgraphmem();
377 381