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

@ -4,6 +4,7 @@ typedef struct device_t
void *(*init)();
void (*close)(void *p);
void (*speed_changed)(void *p);
void (*force_redraw)(void *p);
int (*add_status_info)(char *s, int max_len, void *p);
} device_t;
@ -11,4 +12,5 @@ void device_init();
void device_add(device_t *d);
void device_close_all();
void device_speed_changed();
void device_force_redraw();
char *device_add_status_info(char *s, int max_len);