File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -355,8 +355,9 @@ static void sdl_destroy_mouse_cursor(ALLEGRO_MOUSE_CURSOR *cursor)
355
355
ASSERT (sdl_cursor );
356
356
SDL_FreeCursor (sdl_cursor -> cursor );
357
357
al_free (sdl_cursor );
358
+ }
358
359
359
- static int sdl_get_monitor_dpi (int adapter )
360
+ static int sdl_get_monitor_dpi (int adapter )
360
361
{
361
362
float ddpi , hdpi , vdpi ;
362
363
if (SDL_GetDisplayDPI (adapter , & ddpi , & hdpi , & vdpi ) < 0 )
@@ -419,6 +420,7 @@ ALLEGRO_SYSTEM_INTERFACE *_al_sdl_system_driver(void)
419
420
vt -> get_monitor_info = sdl_get_monitor_info ;
420
421
vt -> create_mouse_cursor = sdl_create_mouse_cursor ;
421
422
vt -> get_monitor_dpi = sdl_get_monitor_dpi ;
423
+ vt -> destroy_mouse_cursor = sdl_destroy_mouse_cursor ;
422
424
/*vt->get_cursor_position = sdl_get_cursor_position;
423
425
vt->grab_mouse = sdl_grab_mouse;
424
426
vt->ungrab_mouse = sdl_ungrab_mouse;*/
You can’t perform that action at this time.
0 commit comments