From faf4c76085cec84671523e225b99a15eecf4994a Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Wed, 13 May 2026 14:12:33 +0200 Subject: [PATCH] Fix clean build: add RCreateContextWayland to wraster.h.in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit wraster.h is generated from wraster.h.in — the declaration was only in the generated file, not the template. Also includes the Wayland no-op for RConvertImage/RConvertImageMask (context->dpy == NULL). --- wrlib/wraster.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wrlib/wraster.h.in b/wrlib/wraster.h.in index 6f6e5df..b4183f0 100644 --- a/wrlib/wraster.h.in +++ b/wrlib/wraster.h.in @@ -356,6 +356,9 @@ RContext *RCreateContext(Display *dpy, int screen_number, const RContextAttributes *attribs) __wrlib_useresult __wrlib_nonalias __wrlib_nonnull(1); +RContext *RCreateContextWayland(int width, int height, + const RContextAttributes *attribs); + void RDestroyContext(RContext *context); Bool RGetClosestXColor(RContext *context, const RColor *color, XColor *retColor)