提交 2a8a3e6e 编写于 作者: Y Yu-Chen Lin

Correct return value type in handle_event

handle_event return the type enum event_result not bool
Signed-off-by: NYu-Chen Lin <npes87184@gmail.com>
上级 c2cef8d5
......@@ -132,7 +132,7 @@ handle_event(SDL_Event *event, bool control) {
screen_show_window(&screen);
}
if (!screen_update_frame(&screen, &video_buffer)) {
return false;
return EVENT_RESULT_CONTINUE;
}
break;
case SDL_WINDOWEVENT:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册