Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cog-platform-fdo: guard against null egl_window
Similar to weston-simple-egl only call wl_egl_window_resize if we have a window. This solves a crash on iMX8M Vivante GPU blob Thread 1 "cog" received signal SIGSEGV, Segmentation fault. wl_egl_window_resize (window=0x0, width=3840, height=2160, dx=0, dy=0) at /usr/src/debug/gpu-viv-wl/git-r0/git/driver/driver/khronos/libEGL/api/gc_egl_wayland.c:2124 2124 /usr/src/debug/gpu-viv-wl/git-r0/git/driver/driver/khronos/libEGL/api/gc_egl_wayland.c: No such file or directory. (gdb) bt at /usr/src/debug/gpu-viv-wl/git-r0/git/driver/driver/khronos/libEGL/api/gc_egl_wayland.c:2124 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Signed-off-by: Peter Griffin <[email protected]>
- Loading branch information