mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-26 01:59:57 +00:00
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:
parent
07300b543e
commit
a83d94f9cf
1 changed files with 5 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue