Fixed duplicated check.

This commit is contained in:
Armin Novak
2019-01-22 11:06:11 +01:00
parent 42ad7a8846
commit 97dfa07578

View File

@@ -318,9 +318,6 @@ BOOL wlf_disp_handle_configure(wlfDispContext* disp, int32_t width, int32_t heig
if (!disp)
return FALSE;
if (!disp)
return FALSE;
disp->targetWidth = width;
disp->targetHeight = height;
return wlf_disp_sendResize(disp);