Home
last modified time | relevance | path

Searched refs:new_depth (Results 1 – 1 of 1) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/video/xbios/
DSDL_xbios.c654 int mode, new_depth; in XBIOS_SetVideoMode() local
680 new_depth = new_video_mode->depth; in XBIOS_SetVideoMode()
681 if (new_depth == 4) { in XBIOS_SetVideoMode()
683 new_depth=8; in XBIOS_SetVideoMode()
685 } else if (new_depth == 8) { in XBIOS_SetVideoMode()
692 new_screen_size = width * height * ((new_depth)>>3); in XBIOS_SetVideoMode()
748 if ( ! SDL_ReallocFormat(current, new_depth, 0, 0, 0, 0) ) { in XBIOS_SetVideoMode()
757 current->pitch = (width * new_depth)>>3; in XBIOS_SetVideoMode()
819 SDL_XBIOS_CentscreenSetmode(this, width, height, new_depth); in XBIOS_SetVideoMode()
825 if (new_depth > 8) { in XBIOS_SetVideoMode()
[all …]