Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c169bfb4
Commit
c169bfb4
authored
Apr 23, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Add stub for wglGetDefaultProcAddress().
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=48898
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b0e2d046
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
0 deletions
+16
-0
make_opengl
dlls/opengl32/make_opengl
+6
-0
opengl32.spec
dlls/opengl32/opengl32.spec
+1
-0
wgl.c
dlls/opengl32/wgl.c
+9
-0
No files found.
dlls/opengl32/make_opengl
View file @
c169bfb4
...
...
@@ -381,6 +381,8 @@ my %remapped_wgl_functions =
"wglUseFontOutlines"
=>
0
,
);
my
@extra_wgl_functions
=
(
"wglGetDefaultProcAddress"
);
my
%
supported_wgl_extensions
=
(
"WGL_ARB_create_context"
=>
1
,
...
...
@@ -502,6 +504,10 @@ sub parse_file($)
}
$wgl_functions
{
$name
}
=
$functions
{
$cmd
->
{
name
}};
}
foreach
my
$name
(
@extra_wgl_functions
)
{
$wgl_functions
{
$name
}
=
$functions
{
$name
}
if
defined
$functions
{
$name
};
}
}
next
unless
defined
$norm_categories
{
$feature
->
{
name
}};
foreach
my
$cmd
(
$feature
->
findnodes
(
"./require/command"
))
...
...
dlls/opengl32/opengl32.spec
View file @
c169bfb4
...
...
@@ -344,6 +344,7 @@
@ stdcall wglDescribePixelFormat(long long long ptr)
@ stdcall wglGetCurrentContext()
@ stdcall wglGetCurrentDC()
@ stdcall wglGetDefaultProcAddress(str)
@ stdcall wglGetLayerPaletteEntries(long long long long ptr)
@ stdcall wglGetPixelFormat(long)
@ stdcall wglGetProcAddress(str)
...
...
dlls/opengl32/wgl.c
View file @
c169bfb4
...
...
@@ -950,6 +950,15 @@ int WINAPI wglSetLayerPaletteEntries(HDC hdc,
}
/***********************************************************************
* wglGetDefaultProcAddress (OPENGL32.@)
*/
PROC
WINAPI
wglGetDefaultProcAddress
(
LPCSTR
name
)
{
FIXME
(
"%s: stub
\n
"
,
debugstr_a
(
name
));
return
NULL
;
}
/***********************************************************************
* wglSwapLayerBuffers (OPENGL32.@)
*/
BOOL
WINAPI
wglSwapLayerBuffers
(
HDC
hdc
,
...
...
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