mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 23:48:18 +02:00
glx/windows: Drop static from driwindowsCreateScreen()
> ../src/glx/driwindows_glx.c:445:1: error: static declaration of ‘driwindowsCreateScreen’ follows non-static declaration
> 445 | driwindowsCreateScreen(int screen, struct glx_display *priv, bool driver_name_is_inferred)
> ../src/glx/glxclient.h:160:20: note: previous declaration of ‘driwindowsCreateScreen’ with type ‘struct glx_screen *(int, struct glx_display *, _Bool)’
> 160 | struct glx_screen *driwindowsCreateScreen(int screen, struct glx_display *priv, bool driver_name_is_inferred);
Since driwindowsCreateScreen() is now called directly, rather than via
function pointers in the _GLXDRIdisplay structure, it needs to be
public.
Fixes: 0d78711cfb ("glx: delete __GLXDRIdisplay")
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41421>
This commit is contained in:
parent
d1d8902dcc
commit
90c47206c5
1 changed files with 1 additions and 1 deletions
|
|
@ -441,7 +441,7 @@ driwindowsMapConfigs(struct glx_display *priv, int screen, struct glx_config *co
|
|||
return head.next;
|
||||
}
|
||||
|
||||
static struct glx_screen *
|
||||
struct glx_screen *
|
||||
driwindowsCreateScreen(int screen, struct glx_display *priv, bool driver_name_is_inferred)
|
||||
{
|
||||
__GLXDRIscreen *psp;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue