projects
/
platform
/
core
/
uifw
/
libtpl-egl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
559e3bc
)
wayland-egl: Initialize uninitialized variable in wl_egl_window_create
43/152543/2
author
Hoyub Lee
<hoyub.lee@samsung.com>
Tue, 26 Sep 2017 10:02:07 +0000
(19:02 +0900)
committer
Hoyub Lee
<hoyub.lee@samsung.com>
Wed, 27 Sep 2017 01:59:46 +0000
(10:59 +0900)
Change-Id: I5e123fd8f0b9d2b0f77bae77db03a67906ce389c
Signed-off-by: Hoyub Lee <hoyub.lee@samsung.com>
src/wayland-egl/wayland-egl.c
patch
|
blob
|
history
diff --git
a/src/wayland-egl/wayland-egl.c
b/src/wayland-egl/wayland-egl.c
index
cab186a
..
3e94e9d
100644
(file)
--- a/
src/wayland-egl/wayland-egl.c
+++ b/
src/wayland-egl/wayland-egl.c
@@
-93,6
+93,9
@@
wl_egl_window_create(struct wl_surface *surface,
egl_window->surface = surface;
+ egl_window->width = 0;
+ egl_window->height = 0;
+
egl_window->resize_callback = NULL;
wl_egl_window_resize(egl_window, width, height, 0, 0);