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
61e42835
Commit
61e42835
authored
May 14, 2000
by
Lionel Ulmer
Committed by
Alexandre Julliard
May 14, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- set debug messages after a TRACE_ON test
- prevent crash when making the NULL context current
parent
c6369b0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
wgl.c
dlls/opengl32/wgl.c
+3
-1
opengl.c
graphics/x11drv/opengl.c
+3
-1
No files found.
dlls/opengl32/wgl.c
View file @
61e42835
...
...
@@ -199,7 +199,9 @@ BOOL WINAPI wglMakeCurrent(HDC hdc,
physDev
=
(
X11DRV_PDEVICE
*
)
dc
->
physDev
;
ENTER_GL
();
ret
=
glXMakeCurrent
(
display
,
physDev
->
drawable
,
(
GLXContext
)
hglrc
);
ret
=
glXMakeCurrent
(
display
,
(
hglrc
==
NULL
?
None
:
physDev
->
drawable
),
(
GLXContext
)
hglrc
);
LEAVE_GL
();
return
ret
;
...
...
graphics/x11drv/opengl.c
View file @
61e42835
...
...
@@ -253,7 +253,9 @@ int X11DRV_DescribePixelFormat(DC *dc,
ppfd
->
iLayerType
=
PFD_MAIN_PLANE
;
dump_PIXELFORMATDESCRIPTOR
(
ppfd
);
if
(
TRACE_ON
(
opengl
))
{
dump_PIXELFORMATDESCRIPTOR
(
ppfd
);
}
return
MAX_PIXELFORMATS
;
}
...
...
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