(Context drivers) Cleanups

This commit is contained in:
twinaphex 2015-04-16 23:03:55 +02:00
parent 590e315bd1
commit 3a6e369516
4 changed files with 12 additions and 4 deletions

View File

@ -200,8 +200,10 @@ static bool gfx_ctx_emscripten_bind_api(void *data,
case GFX_CTX_OPENGL_ES_API:
return eglBindAPI(EGL_OPENGL_ES_API);
default:
return false;
break;
}
return false;
}
static void gfx_ctx_emscripten_destroy(void *data)

View File

@ -368,8 +368,10 @@ static bool gfx_ctx_vc_bind_api(void *data,
case GFX_CTX_OPENVG_API:
return eglBindAPI(EGL_OPENVG_API);
default:
return false;
break;
}
return false;
}
static void gfx_ctx_vc_destroy(void *data)

View File

@ -721,8 +721,10 @@ static bool gfx_ctx_wl_bind_api(void *data,
case GFX_CTX_OPENVG_API:
return eglBindAPI(EGL_OPENVG_API);
default:
return false;
break;
}
return false;
}
static void gfx_ctx_wl_bind_hw_render(void *data, bool enable)

View File

@ -781,8 +781,10 @@ static bool gfx_ctx_xegl_bind_api(void *data,
case GFX_CTX_OPENVG_API:
return eglBindAPI(EGL_OPENVG_API);
default:
return false;
break;
}
return false;
}
static void gfx_ctx_xegl_show_mouse(void *data, bool state)