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
2b58d2dc
Commit
2b58d2dc
authored
May 14, 2009
by
Roderick Colenbrander
Committed by
Alexandre Julliard
May 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wgl: Select bitmap capable formats when PFD_DRAW_TO_BITMAP is requested by the caller.
parent
b5a62756
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
opengl.c
dlls/winex11.drv/opengl.c
+8
-0
No files found.
dlls/winex11.drv/opengl.c
View file @
2b58d2dc
...
...
@@ -1158,6 +1158,14 @@ int CDECL X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev,
continue
;
}
/* Only use bitmap capable for formats for bitmap rendering.
* See get_formats for more info. */
if
(
(
ppfd
->
dwFlags
&
PFD_DRAW_TO_BITMAP
)
!=
(
fmt
->
dwFlags
&
PFD_DRAW_TO_BITMAP
))
{
TRACE
(
"PFD_DRAW_TO_BITMAP mismatch for iPixelFormat=%d
\n
"
,
i
+
1
);
continue
;
}
pglXGetFBConfigAttrib
(
gdi_display
,
fmt
->
fbconfig
,
GLX_DOUBLEBUFFER
,
&
value
);
if
(
value
)
dwFlags
|=
PFD_DOUBLEBUFFER
;
pglXGetFBConfigAttrib
(
gdi_display
,
fmt
->
fbconfig
,
GLX_STEREO
,
&
value
);
...
...
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