diff --git a/src/xrsurface.c b/src/xrsurface.c index a63375f75..d31fbf3de 100644 --- a/src/xrsurface.c +++ b/src/xrsurface.c @@ -106,7 +106,7 @@ _XrSurfaceDestroyXcSurface(XrSurface *surface) void XrSurfaceSetDrawable(XrSurface *surface, Drawable drawable) { - _XrSurfaceDestroyXcSurface(surface) + _XrSurfaceDestroyXcSurface(surface); surface->drawable = drawable; diff --git a/xrsurface.c b/xrsurface.c index a63375f75..d31fbf3de 100644 --- a/xrsurface.c +++ b/xrsurface.c @@ -106,7 +106,7 @@ _XrSurfaceDestroyXcSurface(XrSurface *surface) void XrSurfaceSetDrawable(XrSurface *surface, Drawable drawable) { - _XrSurfaceDestroyXcSurface(surface) + _XrSurfaceDestroyXcSurface(surface); surface->drawable = drawable;