diff options
author | David Robillard <d@drobilla.net> | 2019-07-26 23:46:29 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-28 19:06:39 +0200 |
commit | 6a77f96642b201f614ce7eb67f3b6ec4e1e8c181 (patch) | |
tree | 051a02fcd8ffd6ec0a6c6fb8c1331a4a1592d99b /pugl/pugl_x11_cairo.c | |
parent | 6a3159df3e41cfef6d94ff52f2cf9c5375254243 (diff) | |
download | pugl-6a77f96642b201f614ce7eb67f3b6ec4e1e8c181.tar.gz pugl-6a77f96642b201f614ce7eb67f3b6ec4e1e8c181.tar.bz2 pugl-6a77f96642b201f614ce7eb67f3b6ec4e1e8c181.zip |
Make enterContext take a drawing parameter like leaveContext
These need to be symmetric because sometimes different things need to happen in
either situation when entering the context as well.
Diffstat (limited to 'pugl/pugl_x11_cairo.c')
-rw-r--r-- | pugl/pugl_x11_cairo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/pugl_x11_cairo.c b/pugl/pugl_x11_cairo.c index a0a0789..c52b875 100644 --- a/pugl/pugl_x11_cairo.c +++ b/pugl/pugl_x11_cairo.c @@ -87,13 +87,13 @@ puglX11CairoDestroy(PuglView* view) } static int -puglX11CairoEnter(PuglView* PUGL_UNUSED(view)) +puglX11CairoEnter(PuglView* PUGL_UNUSED(view), bool PUGL_UNUSED(drawing)) { return 0; } static int -puglX11CairoLeave(PuglView* PUGL_UNUSED(view), bool PUGL_UNUSED(flush)) +puglX11CairoLeave(PuglView* PUGL_UNUSED(view), bool PUGL_UNUSED(drawing)) { return 0; } |