mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Fix style issues
This commit is contained in:
parent
1901c3e1b6
commit
073dff63da
2 changed files with 4 additions and 5 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue