diff options
author | Vasiliy Ulyanov <v.ulyanov@samsung.com> | 2016-05-24 14:10:13 +0300 |
---|---|---|
committer | Vasiliy Ulyanov <v.ulyanov@samsung.com> | 2016-05-24 14:10:13 +0300 |
commit | 917838c32271ac715870c17c4bced682c432e965 (patch) | |
tree | 31b5441bffce5bcc74d183ef96e8ffc1a52519df | |
parent | 39851a046e7bb8fccc66f734871ac13a92587cdf (diff) | |
download | emulator-yagl-917838c32271ac715870c17c4bced682c432e965.tar.gz emulator-yagl-917838c32271ac715870c17c4bced682c432e965.tar.bz2 emulator-yagl-917838c32271ac715870c17c4bced682c432e965.zip |
YaGL: Fix debug build with tizen platform
The macro YAGL_LOG_FUNC_SET initilizes logger specific local vars like
pid, tid, etc. There is no need to use it if the function actually does
not produce any logs, since it may lead to 'unused variable' compiler
errors.
Change-Id: I9f9c2ccba7b8364d60891a1748fc62d5b2516fbf
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
-rw-r--r-- | EGL/tizen/yagl_tizen_platform.c | 2 | ||||
-rw-r--r-- | EGL/tizen/yagl_tizen_window.c | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/EGL/tizen/yagl_tizen_platform.c b/EGL/tizen/yagl_tizen_platform.c index a35f55e..a3897a8 100644 --- a/EGL/tizen/yagl_tizen_platform.c +++ b/EGL/tizen/yagl_tizen_platform.c @@ -49,8 +49,6 @@ static struct yagl_native_display { struct yagl_native_display *dpy = NULL; - YAGL_LOG_FUNC_SET(eglGetDisplay); - dpy = yagl_tizen_display_create(&yagl_tizen_platform,os_dpy); return dpy; diff --git a/EGL/tizen/yagl_tizen_window.c b/EGL/tizen/yagl_tizen_window.c index b97e228..56c338e 100644 --- a/EGL/tizen/yagl_tizen_window.c +++ b/EGL/tizen/yagl_tizen_window.c @@ -150,8 +150,6 @@ static int yagl_tizen_window_get_buffer_age(struct yagl_native_drawable *drawabl { struct yagl_tizen_window *window = (struct yagl_tizen_window*)drawable; - YAGL_LOG_FUNC_SET(yagl_tizen_window_get_buffer_age); - return window->back ? window->back->age : 0; } @@ -254,8 +252,6 @@ struct yagl_native_drawable tpl_display_t *tpl_display = NULL; tpl_surface_t *tpl_surface = NULL; - YAGL_LOG_FUNC_SET(yagl_tizen_window_create); - window = yagl_malloc0(sizeof(*window)); yagl_native_drawable_init(&window->base, dpy, os_window); |