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
308da631
Commit
308da631
authored
Aug 12, 2007
by
Chris Robinson
Committed by
Alexandre Julliard
Aug 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11: Set proper pixel format flags.
parent
04d38338
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
opengl.c
dlls/winex11.drv/opengl.c
+11
-1
No files found.
dlls/winex11.drv/opengl.c
View file @
308da631
...
...
@@ -1233,11 +1233,21 @@ int X11DRV_DescribePixelFormat(X11DRV_PDEVICE *physDev,
ppfd
->
nVersion
=
1
;
/* These flags are always the same... */
ppfd
->
dwFlags
=
PFD_
DRAW_TO_WINDOW
|
PFD_
SUPPORT_OPENGL
;
ppfd
->
dwFlags
=
PFD_SUPPORT_OPENGL
;
/* Now the flags extracted from the Visual */
wine_tsx11_lock
();
pglXGetFBConfigAttrib
(
gdi_display
,
fmt
->
fbconfig
,
GLX_X_RENDERABLE
,
&
value
);
if
(
value
)
ppfd
->
dwFlags
|=
PFD_SUPPORT_GDI
;
pglXGetFBConfigAttrib
(
gdi_display
,
fmt
->
fbconfig
,
GLX_DRAWABLE_TYPE
,
&
value
);
if
(
value
&
GLX_WINDOW_BIT
)
ppfd
->
dwFlags
|=
PFD_DRAW_TO_WINDOW
;
if
(
value
&
GLX_PIXMAP_BIT
)
ppfd
->
dwFlags
|=
PFD_DRAW_TO_BITMAP
;
pglXGetFBConfigAttrib
(
gdi_display
,
fmt
->
fbconfig
,
GLX_CONFIG_CAVEAT
,
&
value
);
if
(
value
==
GLX_SLOW_CONFIG
)
ppfd
->
dwFlags
|=
PFD_GENERIC_ACCELERATED
;
...
...
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