aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authornyorain <nyorain@gmail.com>2017-08-10 11:05:18 +0200
committernyorain <nyorain@gmail.com>2017-08-10 11:05:18 +0200
commit073dff63da7ef3ea744dddedbe7c59fec799372e (patch)
treee4cb62887fcfea79c2514a57d510a77ccdfc6100 /backend
parent1901c3e1b64cff3440b0b3b27ad9db06645a29e6 (diff)
Fix style issues
Diffstat (limited to 'backend')
-rw-r--r--backend/egl.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/backend/egl.c b/backend/egl.c
index 591dfe40..15a2c58e 100644
--- a/backend/egl.c
+++ b/backend/egl.c
@@ -231,8 +231,7 @@ bool wlr_egl_query_buffer(struct wl_resource *buf, int attrib, int *value) {
}
EGLImage wlr_egl_create_image(EGLenum target,
- EGLClientBuffer buffer, const EGLint *attribs)
-{
+ EGLClientBuffer buffer, const EGLint *attribs) {
if (!egl_global || !eglCreateImageKHR) {
return false;
}
@@ -241,8 +240,7 @@ EGLImage wlr_egl_create_image(EGLenum target,
buffer, attribs);
}
-bool wlr_egl_destroy_image(EGLImage image)
-{
+bool wlr_egl_destroy_image(EGLImage image) {
if (!egl_global || !eglDestroyImageKHR) {
return false;
}