forked from enlightenment/efl
ecore_evas_x: Fixed formatting and added an empty line for a better readability.
This commit is contained in:
parent
c3d6a1478f
commit
e5bfbedfa2
|
@ -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);
|
ee = ecore_event_window_match(e->win);
|
||||||
if (!ee) return ECORE_CALLBACK_PASS_ON; /* pass on event */
|
if (!ee) return ECORE_CALLBACK_PASS_ON; /* pass on event */
|
||||||
if (e->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
|
if (e->win != ee->prop.window) return ECORE_CALLBACK_PASS_ON;
|
||||||
|
|
||||||
/* some GL drivers are doing buffer copy in a separate thread.
|
/* 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
|
* we need to check whether GL driver sends SYNC_DRAW_DONE msg afger copying
|
||||||
* that are required in order to exactly render.
|
* 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 (ee->gl_sync_draw_done < 0)
|
||||||
{
|
{
|
||||||
if (getenv("ECORE_EVAS_GL_SYNC_DRAW_DONE"))
|
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
|
else
|
||||||
ee->gl_sync_draw_done = 0;
|
ee->gl_sync_draw_done = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (first_map_bug < 0)
|
if (first_map_bug < 0)
|
||||||
{
|
{
|
||||||
char *bug = NULL;
|
char *bug = NULL;
|
||||||
|
|
Loading…
Reference in New Issue