mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 20:18:22 +08:00
improve drop file for windows
This commit is contained in:
parent
a4b9a51d0d
commit
9cffc43219
@ -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