Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d47220a2
Commit
d47220a2
authored
Feb 19, 2024
by
Alexandros Frantzis
Committed by
Alexandre Julliard
Mar 06, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winewayland.drv: Implement wglGetProcAddress.
parent
e5d995d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
opengl.c
dlls/winewayland.drv/opengl.c
+14
-0
No files found.
dlls/winewayland.drv/opengl.c
View file @
d47220a2
...
...
@@ -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
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment