SVGA: Remove some excess logging.
This commit is contained in:
@@ -2016,7 +2016,6 @@ svga_doblit(int wx, int wy, svga_t *svga)
|
|||||||
|
|
||||||
/* Block resolution changes while in DPMS mode to avoid getting a bogus
|
/* Block resolution changes while in DPMS mode to avoid getting a bogus
|
||||||
screen width (320). We're already rendering a blank screen anyway. */
|
screen width (320). We're already rendering a blank screen anyway. */
|
||||||
pclog("%i + %i, %i + %i\n", svga->monitor->mon_xsize, x_add, svga->monitor->mon_ysize, y_add);
|
|
||||||
if (!svga->dpms)
|
if (!svga->dpms)
|
||||||
set_screen_size_monitor(svga->monitor->mon_xsize + x_add, svga->monitor->mon_ysize + y_add, svga->monitor_index);
|
set_screen_size_monitor(svga->monitor->mon_xsize + x_add, svga->monitor->mon_ysize + y_add, svga->monitor_index);
|
||||||
|
|
||||||
|
|||||||
@@ -85,18 +85,9 @@ svga_render_blank(svga_t *svga)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
pclog("svga->displine = %i, svga->y_add = %i, svga->x_add = %i\n", svga->displine, svga->y_add, svga->x_add);
|
|
||||||
#endif
|
|
||||||
uint32_t *line_ptr = &svga->monitor->target_buffer->line[svga->displine + svga->y_add][svga->x_add];
|
uint32_t *line_ptr = &svga->monitor->target_buffer->line[svga->displine + svga->y_add][svga->x_add];
|
||||||
#if 0
|
|
||||||
pclog("svga->hdisp = %i, svga->scrollcache = %i, char_width = %i, sizeof(uint32_t) = %i\n", svga->hdisp, svga->scrollcache, char_width, sizeof(uint32_t));
|
|
||||||
#endif
|
|
||||||
uint32_t line_width = (uint32_t) (svga->hdisp + svga->scrollcache) * char_width * sizeof(uint32_t);
|
uint32_t line_width = (uint32_t) (svga->hdisp + svga->scrollcache) * char_width * sizeof(uint32_t);
|
||||||
|
|
||||||
#if 0
|
|
||||||
pclog("line_width = %i\n", line_width);
|
|
||||||
#endif
|
|
||||||
if ((svga->hdisp + svga->scrollcache) > 0)
|
if ((svga->hdisp + svga->scrollcache) > 0)
|
||||||
memset(line_ptr, 0, line_width);
|
memset(line_ptr, 0, line_width);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user