Commit d47220a2 authored by Alexandros Frantzis's avatar Alexandros Frantzis Committed by Alexandre Julliard

winewayland.drv: Implement wglGetProcAddress.

parent e5d995d8
......@@ -70,6 +70,12 @@ static const char *wayland_wglGetExtensionsStringEXT(void)
return wgl_extensions;
}
static PROC wayland_wglGetProcAddress(LPCSTR name)
{
if (!strncmp(name, "wgl", 3)) return NULL;
return (PROC)p_eglGetProcAddress(name);
}
static BOOL has_extension(const char *list, const char *ext)
{
size_t len = strlen(ext);
......@@ -186,6 +192,14 @@ static BOOL has_opengl(void)
return !pthread_once(&init_once, init_opengl) && egl_handle;
}
static struct opengl_funcs opengl_funcs =
{
.wgl =
{
.p_wglGetProcAddress = wayland_wglGetProcAddress,
}
};
/**********************************************************************
* WAYLAND_wine_get_wgl_driver
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment