Direct3D video output. Fixed redraw when DirectDraw/Direct3D device is lost.

This commit is contained in:
TomW 2013-08-13 19:20:28 +01:00
commit 72f934d141
43 changed files with 528 additions and 192 deletions

View file

@ -1848,11 +1848,19 @@ void mach64_speed_changed(void *p)
svga_recalctimings(&mach64->svga);
}
void mach64_force_redraw(void *p)
{
mach64_t *mach64 = (mach64_t *)p;
mach64->svga.fullchange = changeframecount;
}
device_t mach64gx_device =
{
"ATI Mach64GX",
mach64gx_init,
mach64_close,
mach64_speed_changed,
mach64_force_redraw,
svga_add_status_info
};