diff options
author | David Robillard <d@drobilla.net> | 2019-07-26 23:11:17 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-28 19:06:39 +0200 |
commit | ffdc710f20ce8016bf5daeaf97cb75bcb479a22d (patch) | |
tree | 6b4bf3fa7912f1d8f55a7d54a3b88c526752983f /pugl/pugl_x11_cairo.c | |
parent | a84fe498ef7e8786455cf480bb865e1708465207 (diff) | |
download | pugl-ffdc710f20ce8016bf5daeaf97cb75bcb479a22d.tar.gz pugl-ffdc710f20ce8016bf5daeaf97cb75bcb479a22d.tar.bz2 pugl-ffdc710f20ce8016bf5daeaf97cb75bcb479a22d.zip |
Rename PuglDrawContext to PuglBackend
This name was pretty confusing since there is already the concept of a
"context".
Diffstat (limited to 'pugl/pugl_x11_cairo.c')
-rw-r--r-- | pugl/pugl_x11_cairo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pugl/pugl_x11_cairo.c b/pugl/pugl_x11_cairo.c index be6fe36..6992c1a 100644 --- a/pugl/pugl_x11_cairo.c +++ b/pugl/pugl_x11_cairo.c @@ -118,9 +118,9 @@ puglX11CairoGetHandle(PuglView* view) return surface->cr; } -PuglDrawContext puglGetX11CairoDrawContext(void) +PuglBackend puglGetX11CairoBackend(void) { - static const PuglDrawContext puglX11CairoDrawContext = { + static const PuglBackend puglX11CairoBackend = { puglX11CairoConfigure, puglX11CairoCreate, puglX11CairoDestroy, @@ -130,5 +130,5 @@ PuglDrawContext puglGetX11CairoDrawContext(void) puglX11CairoGetHandle }; - return puglX11CairoDrawContext; + return puglX11CairoBackend; } |