From c08a44638c37da9d82a455ac409c949bb4c2c863 Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Wed, 12 Jun 2019 18:06:01 +0800 Subject: [PATCH] Call IAL_SetMouseRange after initialized --- src/ial/ial.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ial/ial.c b/src/ial/ial.c index 104dfbd6..6324c135 100644 --- a/src/ial/ial.c +++ b/src/ial/ial.c @@ -288,6 +288,7 @@ int mg_InitIAL (void) _DBG_PRINTF ("IAL: Use %s engine.\n", __mg_cur_input->id); + IAL_SetMouseRange (0, 0, WIDTHOFPHYGC - 1, HEIGHTOFPHYGC - 1); return 0; }