Skip to content

Commit db64a60

Browse files
allefantSiegeLord
authored andcommitted
fix bad merge
Somehow merging in #1429 went terribly wrong, not sure exactly how that did happen but I blame github :P
1 parent 961edc3 commit db64a60

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sdl/sdl_system.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,9 @@ static void sdl_destroy_mouse_cursor(ALLEGRO_MOUSE_CURSOR *cursor)
355355
ASSERT(sdl_cursor);
356356
SDL_FreeCursor(sdl_cursor->cursor);
357357
al_free(sdl_cursor);
358+
}
358359

359-
static int sdl_get_monitor_dpi(int adapter)
360+
static int sdl_get_monitor_dpi(int adapter)
360361
{
361362
float ddpi, hdpi, vdpi;
362363
if (SDL_GetDisplayDPI(adapter, &ddpi, &hdpi, &vdpi) < 0)
@@ -419,6 +420,7 @@ ALLEGRO_SYSTEM_INTERFACE *_al_sdl_system_driver(void)
419420
vt->get_monitor_info = sdl_get_monitor_info;
420421
vt->create_mouse_cursor = sdl_create_mouse_cursor;
421422
vt->get_monitor_dpi = sdl_get_monitor_dpi;
423+
vt->destroy_mouse_cursor = sdl_destroy_mouse_cursor;
422424
/*vt->get_cursor_position = sdl_get_cursor_position;
423425
vt->grab_mouse = sdl_grab_mouse;
424426
vt->ungrab_mouse = sdl_ungrab_mouse;*/

0 commit comments

Comments
 (0)