From 073dff63da7ef3ea744dddedbe7c59fec799372e Mon Sep 17 00:00:00 2001 From: nyorain Date: Thu, 10 Aug 2017 11:05:18 +0200 Subject: Fix style issues --- render/gles2/texture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'render/gles2') diff --git a/render/gles2/texture.c b/render/gles2/texture.c index 17c41957..b7de65be 100644 --- a/render/gles2/texture.c +++ b/render/gles2/texture.c @@ -22,8 +22,9 @@ static struct pixel_format external_pixel_format = { }; static void gles2_texture_gen_texture(struct wlr_texture_state *surface) { - if (surface->tex_id) + if (surface->tex_id) { return; + } GL_CALL(glGenTextures(1, &surface->tex_id)); GL_CALL(glBindTexture(GL_TEXTURE_2D, surface->tex_id)); -- cgit v1.2.3