mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 12:08:16 +08:00
Merge branch 'master' of https://github.com/zlgopen/awtk
This commit is contained in:
commit
d08c47fd2c
@ -369,6 +369,7 @@ main_loop_t* main_loop_init(int w, int h) {
|
||||
loop = main_loop_simple_init(w, h, NULL, NULL);
|
||||
loop->base.destroy = main_loop_sdl2_destroy;
|
||||
loop->dispatch_input = main_loop_sdl2_dispatch;
|
||||
SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
|
||||
|
||||
return (main_loop_t*)loop;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user