@@ -42,22 +42,23 @@ static int driver_get_mouse(int *x, int *y, int *z, int *buttons, int *clip);
4242static void driver_set_mouse (int x , int y , int cursor , int clip );
4343static int * driver_fetch_modes (int depth , int * size );
4444
45- GFXDRIVER fb_gfxDriverFBDev =
45+ /* GFXDRIVER */
46+ const GFXDRIVER fb_gfxDriverFBDev =
4647{
47- "FBDev" , /* char *name; */
48- driver_init , /* int (*init)(int w, int h, char *title , int fullscreen ); */
49- driver_exit , /* void (*exit)(void); */
50- driver_lock , /* void (*lock)(void); */
51- driver_unlock , /* void (*unlock)(void); */
52- driver_set_palette , /* void (*set_palette)(int index, int r, int g, int b); */
53- driver_wait_vsync , /* void (*wait_vsync)(void); */
54- driver_get_mouse , /* int (*get_mouse)(int *x, int *y, int *z, int *buttons, int *clip); */
55- driver_set_mouse , /* void (*set_mouse)(int x, int y, int cursor, int clip); */
56- NULL , /* void (*set_window_title)(char *title); */
57- NULL , /* int (*set_window_pos)(int x, int y); */
58- driver_fetch_modes , /* int *(*fetch_modes)(void); */
59- NULL , /* void (*flip)(void); */
60- NULL /* void (*poll_events)(void); */
48+ "FBDev" , /* char *name; */
49+ driver_init , /* int (*init)(char *title, int w, int h, int depth , int refresh_rate, int flags ); */
50+ driver_exit , /* void (*exit)(void); */
51+ driver_lock , /* void (*lock)(void); */
52+ driver_unlock , /* void (*unlock)(void); */
53+ driver_set_palette , /* void (*set_palette)(int index, int r, int g, int b); */
54+ driver_wait_vsync , /* void (*wait_vsync)(void); */
55+ driver_get_mouse , /* int (*get_mouse)(int *x, int *y, int *z, int *buttons, int *clip); */
56+ driver_set_mouse , /* void (*set_mouse)(int x, int y, int cursor, int clip); */
57+ NULL , /* void (*set_window_title)(char *title); */
58+ NULL , /* int (*set_window_pos)(int x, int y); */
59+ driver_fetch_modes , /* int *(*fetch_modes)(void); */
60+ NULL , /* void (*flip)(void); */
61+ NULL /* void (*poll_events)(void); */
6162};
6263
6364
0 commit comments