diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-19 08:45:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-19 08:45:44 -0400 |
commit | b876bea288bc4827a9de157eed481b823c081a4b (patch) | |
tree | 94fb650815691f98ab633c7731496f14ac751dc2 /include/wlr/render | |
parent | 3674085faede2960581461cf8f40c33ffce85e7c (diff) | |
parent | 84c0c87a5ddca24cb039f33eea38252681bb4636 (diff) |
Merge pull request #114 from martinetd/cleanups
Cleanups
Diffstat (limited to 'include/wlr/render')
-rw-r--r-- | include/wlr/render/gles2.h | 2 | ||||
-rw-r--r-- | include/wlr/render/interface.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/wlr/render/gles2.h b/include/wlr/render/gles2.h index b368d6e1..4a944eb7 100644 --- a/include/wlr/render/gles2.h +++ b/include/wlr/render/gles2.h @@ -4,6 +4,6 @@ #include <wlr/backend.h> struct wlr_egl; -struct wlr_renderer *wlr_gles2_renderer_init(struct wlr_backend *backend); +struct wlr_renderer *wlr_gles2_renderer_create(struct wlr_backend *backend); #endif diff --git a/include/wlr/render/interface.h b/include/wlr/render/interface.h index f98c3bc2..c00e0701 100644 --- a/include/wlr/render/interface.h +++ b/include/wlr/render/interface.h @@ -14,7 +14,7 @@ struct wlr_renderer { struct wlr_renderer_impl { void (*begin)(struct wlr_renderer *renderer, struct wlr_output *output); void (*end)(struct wlr_renderer *renderer); - struct wlr_texture *(*texture_init)(struct wlr_renderer *renderer); + struct wlr_texture *(*texture_create)(struct wlr_renderer *renderer); bool (*render_with_matrix)(struct wlr_renderer *renderer, struct wlr_texture *texture, const float (*matrix)[16]); void (*render_quad)(struct wlr_renderer *renderer, |