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
d6a6b88f
Commit
d6a6b88f
authored
Jul 02, 2008
by
Massimo Del Fedele
Committed by
Alexandre Julliard
Jul 04, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: glGetString() should return NULL on NULL context.
parent
0f9484a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
wgl.c
dlls/opengl32/wgl.c
+5
-0
No files found.
dlls/opengl32/wgl.c
View file @
d6a6b88f
...
...
@@ -632,6 +632,11 @@ const GLubyte * WINAPI wine_glGetString( GLenum name )
const
GLubyte
*
ret
;
const
char
*
GL_Extensions
=
NULL
;
/* this is for buggy nvidia driver, crashing if called from a different
thread with no context */
if
(
wglGetCurrentContext
()
==
NULL
)
return
NULL
;
if
(
GL_EXTENSIONS
!=
name
)
{
ENTER_GL
();
ret
=
glGetString
(
name
);
...
...
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