Added (dummy) Death/Resurrection calls to DisplayDib.

This commit is contained in:
Ove Kaaven 1999-01-26 16:57:56 +00:00 committed by Alexandre Julliard
parent 01c7ee2f45
commit c70ac184ae
1 changed files with 8 additions and 1 deletions

View File

@ -28,12 +28,19 @@ static WORD DISPDIB_Begin(WORD wFlags)
default:
return DISPLAYDIB_NOTSUPPORTED;
}
if (VGA_SetMode(Xres,Yres,Depth)) return DISPLAYDIB_NOTSUPPORTED;
/* more or less dummy calls to Death/Resurrection, for completeness */
/* FIXME: what arguments should they get? */
Death(0);
if (VGA_SetMode(Xres,Yres,Depth)) {
Resurrection(0,0,0,0,0,0,0);
return DISPLAYDIB_NOTSUPPORTED;
}
return DISPLAYDIB_NOERROR;
}
static void DISPDIB_End(void)
{
Resurrection(0,0,0,0,0,0,0); /* FIXME: arguments */
VGA_Exit();
}