Direct3D video output. Fixed redraw when DirectDraw/Direct3D device is lost.
This commit is contained in:
parent
6d6d98a997
commit
72f934d141
43 changed files with 528 additions and 192 deletions
16
src/device.c
16
src/device.c
|
|
@ -58,6 +58,22 @@ void device_speed_changed()
|
|||
}
|
||||
}
|
||||
|
||||
void device_force_redraw()
|
||||
{
|
||||
int c;
|
||||
|
||||
for (c = 0; c < 256; c++)
|
||||
{
|
||||
if (devices[c] != NULL)
|
||||
{
|
||||
if (devices[c]->force_redraw != NULL)
|
||||
{
|
||||
devices[c]->force_redraw(device_priv[c]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
char *device_add_status_info(char *s, int max_len)
|
||||
{
|
||||
int c;
|
||||
|
|
|
|||
Loading…
Reference in a new issue