ecore_evas_x: Fixed formatting and added an empty line for a better readability.

This commit is contained in:
Daniel Juyung Seo 2014-01-08 19:51:42 +09:00
parent c3d6a1478f
commit e5bfbedfa2
1 changed files with 4 additions and 2 deletions

View File

@ -1432,6 +1432,7 @@ _ecore_evas_x_event_window_show(void *data EINA_UNUSED, int type EINA_UNUSED, vo
ee = ecore_event_window_match(e->win);
if (!ee) return ECORE_CALLBACK_PASS_ON; /* pass on event */
if (e->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
/* some GL drivers are doing buffer copy in a separate thread.
* we need to check whether GL driver sends SYNC_DRAW_DONE msg afger copying
* that are required in order to exactly render.
@ -1439,10 +1440,11 @@ _ecore_evas_x_event_window_show(void *data EINA_UNUSED, int type EINA_UNUSED, vo
if (ee->gl_sync_draw_done < 0)
{
if (getenv("ECORE_EVAS_GL_SYNC_DRAW_DONE"))
ee->gl_sync_draw_done = atoi(getenv("ECORE_EVAS_GL_SYNC_DRAW_DONE"));
ee->gl_sync_draw_done = atoi(getenv("ECORE_EVAS_GL_SYNC_DRAW_DONE"));
else
ee->gl_sync_draw_done = 0;
ee->gl_sync_draw_done = 0;
}
if (first_map_bug < 0)
{
char *bug = NULL;