changed renderer name to fx_renderer

This commit is contained in:
Will McKinnon 2022-07-30 18:04:31 -04:00
parent 63b23dc615
commit 0aa5c4f65d
6 changed files with 23 additions and 14 deletions

View file

@ -12,7 +12,7 @@ struct gles2_tex_shader {
GLint tex_attrib;
};
struct gles2_renderer {
struct fx_renderer {
struct wlr_egl *egl;
float projection[9];
@ -34,6 +34,7 @@ struct gles2_renderer {
} shaders;
};
struct gles2_renderer *gles2_renderer_create(struct wlr_egl *egl);
struct fx_renderer *fx_renderer_create(struct wlr_egl *egl);
#endif

View file

@ -36,6 +36,7 @@ struct sway_server {
// secondary headless backend used for creating virtual outputs on-the-fly
struct wlr_backend *headless_backend;
struct wlr_renderer *renderer;
struct fx_renderer *fx_renderer;
struct wlr_allocator *allocator;
struct wlr_compositor *compositor;