Commit fa02a890 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

window: resize callback cannot be NULL

parent 54b1c63c
......@@ -296,8 +296,7 @@ static inline int vout_window_HideMouse(vout_window_t *window, bool hide)
static inline void vout_window_ReportSize(vout_window_t *window,
unsigned width, unsigned height)
{
if (window->owner.resized != NULL)
window->owner.resized(window, width, height);
window->owner.resized(window, width, height);
}
static inline void vout_window_ReportClose(vout_window_t *window)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment