diff options
author | nyorain <nyorain@gmail.com> | 2017-08-14 17:09:56 +0200 |
---|---|---|
committer | nyorain <nyorain@gmail.com> | 2017-08-14 17:09:56 +0200 |
commit | f998bb82995c2086e05b0949bef76506740407f4 (patch) | |
tree | 732d20c340a6cae30a49e91019608ee6e0b24e9b /render | |
parent | 53052b3f6e457f35d46fc3a71bd7eac96e55a484 (diff) |
Fix style issues
Diffstat (limited to 'render')
-rw-r--r-- | render/gles2/renderer.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c index 75a47187..e63787d8 100644 --- a/render/gles2/renderer.c +++ b/render/gles2/renderer.c @@ -101,8 +101,9 @@ error: } static void init_image_ext() { - if (glEGLImageTargetTexture2DOES) + if (glEGLImageTargetTexture2DOES) { return; + } const char *exts = (const char*) glGetString(GL_EXTENSIONS); if (strstr(exts, "GL_OES_EGL_image_external")) { @@ -177,7 +178,7 @@ static void draw_quad() { static bool wlr_gles2_render_texture(struct wlr_renderer *_renderer, struct wlr_texture *texture, const float (*matrix)[16]) { - if(!texture || !texture->valid) { + if (!texture || !texture->valid) { wlr_log(L_ERROR, "attempt to render invalid texture"); return false; } |