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
d66ded93
Commit
d66ded93
authored
May 19, 2009
by
Roderick Colenbrander
Committed by
Alexandre Julliard
May 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wgl: Set PFD_GENERIC_FORMAT on bitmap formats instead of PFD_GENERIC_ACCELERATED.
parent
8a3d9ccb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
opengl.c
dlls/winex11.drv/opengl.c
+4
-4
No files found.
dlls/winex11.drv/opengl.c
View file @
d66ded93
...
...
@@ -939,7 +939,7 @@ static WineGLPixelFormat *get_formats(Display *display, int *size_ret, int *onsc
list
[
size
].
fmt_id
=
fmt_id
;
list
[
size
].
render_type
=
get_render_type_from_fbconfig
(
display
,
cfgs
[
i
]);
list
[
size
].
offscreenOnly
=
FALSE
;
list
[
size
].
dwFlags
=
PFD_DRAW_TO_BITMAP
|
PFD_SUPPORT_GDI
|
PFD_GENERIC_
ACCELERATED
;
list
[
size
].
dwFlags
=
PFD_DRAW_TO_BITMAP
|
PFD_SUPPORT_GDI
|
PFD_GENERIC_
FORMAT
;
size
++
;
onscreen_size
++
;
}
...
...
@@ -1411,11 +1411,11 @@ int CDECL X11DRV_DescribePixelFormat(X11DRV_PDEVICE *physDev,
ppfd
->
dwFlags
|=
fmt
->
dwFlags
&
(
PFD_DRAW_TO_BITMAP
|
PFD_SUPPORT_GDI
);
/* PFD_GENERIC_FORMAT - gdi software rendering
* PFD_GENERIC_ACCELERATED - some parts are accelerated by a display driver (
ICD or MCD
)
* PFD_GENERIC_ACCELERATED - some parts are accelerated by a display driver (
MCD e.g. 3dfx minigl
)
* none set - full hardware accelerated by a ICD
*
* We only set PFD_GENERIC_
ACCELERATED
on bitmap formats (see get_formats) as that's what ATI and Nvidia Windows drivers do */
ppfd
->
dwFlags
|=
fmt
->
dwFlags
&
PFD_GENERIC_ACCELERATED
;
* We only set PFD_GENERIC_
FORMAT
on bitmap formats (see get_formats) as that's what ATI and Nvidia Windows drivers do */
ppfd
->
dwFlags
|=
fmt
->
dwFlags
&
(
PFD_GENERIC_FORMAT
|
PFD_GENERIC_ACCELERATED
)
;
pglXGetFBConfigAttrib
(
gdi_display
,
fmt
->
fbconfig
,
GLX_DOUBLEBUFFER
,
&
value
);
if
(
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