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 <enterprise@x11libre.org>
This commit is contained in:
Enrico Weigelt, metux IT consult 2026-10-23 17:53:08 +02:00
commit 89f64b2581

View file

@ -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 <epoxy/egl.h>
#include <glamor_egl_ext.h>
#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.