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
bfd48368
Commit
bfd48368
authored
Feb 24, 2015
by
Matteo Bruni
Committed by
Alexandre Julliard
Feb 25, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Return a NULL pointer for functions requiring unsupported or disabled extensions.
parent
9a1f66a4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
wgl.c
dlls/opengl32/wgl.c
+3
-0
No files found.
dlls/opengl32/wgl.c
View file @
bfd48368
...
...
@@ -875,7 +875,10 @@ PROC WINAPI wglGetProcAddress( LPCSTR name )
void
*
driver_func
=
funcs
->
wgl
.
p_wglGetProcAddress
(
name
);
if
(
!
is_extension_supported
(
ext_ret
->
extension
))
{
WARN
(
"Extension %s required for %s not supported
\n
"
,
ext_ret
->
extension
,
name
);
return
NULL
;
}
if
(
driver_func
==
NULL
)
{
...
...
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