Lines Matching refs:new_depth
654 int mode, new_depth;
680 new_depth = new_video_mode->depth;
681 if (new_depth == 4) {
683 new_depth=8;
685 } else if (new_depth == 8) {
692 new_screen_size = width * height * ((new_depth)>>3);
748 if ( ! SDL_ReallocFormat(current, new_depth, 0, 0, 0, 0) ) {
757 current->pitch = (width * new_depth)>>3;
819 SDL_XBIOS_CentscreenSetmode(this, width, height, new_depth);
825 if (new_depth > 8) {
834 if (new_depth > 8) {