From 89f64b2581b7f4abcba5803d77646afe64728c1f Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 23 Oct 2026 17:53:08 +0200 Subject: [PATCH] glamor: add prototype for glamor_egl_create_textured_screen This adds the missing prototype declaration for the new function glamor_egl_create_textured_screen introduced by the PR #3877 backport. Without it, -Werror=missing-prototypes fails the build on release/25.1. Signed-off-by: Enterprise --- glamor/glamor_egl.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/glamor/glamor_egl.h b/glamor/glamor_egl.h index 8f6ed78404..a84dd47513 100644 --- a/glamor/glamor_egl.h +++ b/glamor/glamor_egl.h @@ -8,10 +8,6 @@ * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * - * The above copyright notice and this permission notice (including the next - * paragraph) shall be included in all copies or substantial portions of the - * Software. - * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL @@ -33,6 +29,11 @@ #include #include +#include "scrnintstr.h" +#include "pixmap.h" + +Bool glamor_egl_create_textured_screen(ScreenPtr screen, int handle, int stride); + /* * Create an EGLDisplay from a native display type. This is a little quirky * for a few reasons.