aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/win_cairo.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/win_cairo.c')
-rw-r--r--pugl/detail/win_cairo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl/detail/win_cairo.c b/pugl/detail/win_cairo.c
index cbca7e8..741f4cf 100644
--- a/pugl/detail/win_cairo.c
+++ b/pugl/detail/win_cairo.c
@@ -51,7 +51,7 @@ puglWinCairoCreateDrawContext(PuglView* view)
(st = cairo_surface_status(surface->surface)) ||
!(surface->cr = cairo_create(surface->surface)) ||
(st = cairo_status(surface->cr))) {
- return PUGL_ERR_CREATE_CONTEXT;
+ return PUGL_CREATE_CONTEXT_FAILED;
}
cairo_save(surface->cr);
@@ -95,7 +95,7 @@ puglWinCairoConfigure(PuglView* view)
DestroyWindow(impl->hwnd);
impl->hwnd = NULL;
impl->hdc = NULL;
- return PUGL_ERR_SET_FORMAT;
+ return PUGL_SET_FORMAT_FAILED;
}
impl->surface = (PuglWinCairoSurface*)calloc(