summaryrefslogtreecommitdiff
path: root/common/ogl_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/ogl_ctx.c')
-rw-r--r--common/ogl_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ogl_ctx.c b/common/ogl_ctx.c
index 41c0591..b4e60fb 100644
--- a/common/ogl_ctx.c
+++ b/common/ogl_ctx.c
@@ -243,7 +243,7 @@ void oglctx_destroy(OGLCtx *ctx)
XFreePixmap(ctx->x_display, ((OGLPixmapCtx *)ctx)->pixmap);
break;
default:
- PANIC("invalid ogl ctx type");
+ spice_error("invalid ogl ctx type");
}
XCloseDisplay(ctx->x_display);