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
70f776d3
Commit
70f776d3
authored
May 03, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Update the pixel format through the DCE hook for window DCs to avoid races.
parent
416240b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
opengl.c
dlls/winex11.drv/opengl.c
+2
-2
No files found.
dlls/winex11.drv/opengl.c
View file @
70f776d3
...
...
@@ -1680,6 +1680,7 @@ static BOOL internal_SetPixelFormat(X11DRV_PDEVICE *physDev,
ERR
(
"Couldn't set format of the window, returning failure
\n
"
);
return
FALSE
;
}
/* physDev->current_pf will be set by the DCE update */
}
else
if
(
physDev
->
bitmap
)
{
if
(
!
(
value
&
GLX_PIXMAP_BIT
))
{
...
...
@@ -1692,13 +1693,12 @@ static BOOL internal_SetPixelFormat(X11DRV_PDEVICE *physDev,
WARN
(
"Couldn't create glxpixmap for pixel format %d
\n
"
,
iPixelFormat
);
return
FALSE
;
}
physDev
->
current_pf
=
iPixelFormat
;
}
else
{
FIXME
(
"called on a non-window, non-bitmap object?
\n
"
);
}
physDev
->
current_pf
=
iPixelFormat
;
if
(
TRACE_ON
(
wgl
))
{
int
gl_test
=
0
;
...
...
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