Fix clean build: add RCreateContextWayland to wraster.h.in

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).
This commit is contained in:
Levi Neely 2026-05-13 14:12:33 +02:00
parent bca128d593
commit faf4c76085
1 changed files with 3 additions and 0 deletions

View File

@ -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)