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
aab98fc6
Commit
aab98fc6
authored
Aug 14, 2007
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Aug 14, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wgl: Recognize Vista's PFD_SUPPORT_COMPOSITION flag.
parent
f076919c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
opengl.c
dlls/winex11.drv/opengl.c
+3
-0
wingdi.h
include/wingdi.h
+1
-0
No files found.
dlls/winex11.drv/opengl.c
View file @
aab98fc6
...
...
@@ -173,6 +173,9 @@ static void dump_PIXELFORMATDESCRIPTOR(const PIXELFORMATDESCRIPTOR *ppfd) {
TEST_AND_DUMP
(
ppfd
->
dwFlags
,
PFD_SWAP_COPY
);
TEST_AND_DUMP
(
ppfd
->
dwFlags
,
PFD_SWAP_EXCHANGE
);
TEST_AND_DUMP
(
ppfd
->
dwFlags
,
PFD_SWAP_LAYER_BUFFERS
);
/* PFD_SUPPORT_COMPOSITION is new in Vista, it is similar to composition
* under X e.g. COMPOSITE + GLX_EXT_TEXTURE_FROM_PIXMAP. */
TEST_AND_DUMP
(
ppfd
->
dwFlags
,
PFD_SUPPORT_COMPOSITION
);
#undef TEST_AND_DUMP
TRACE
(
"
\n
"
);
...
...
include/wingdi.h
View file @
aab98fc6
...
...
@@ -88,6 +88,7 @@ typedef struct tagPIXELFORMATDESCRIPTOR {
#define PFD_SWAP_COPY 0x00000400
#define PFD_SWAP_LAYER_BUFFERS 0x00000800
#define PFD_GENERIC_ACCELERATED 0x00001000
#define PFD_SUPPORT_COMPOSITION 0x00008000
/* Vista stuff */
#define PFD_DEPTH_DONTCARE 0x20000000
#define PFD_DOUBLEBUFFER_DONTCARE 0x40000000
...
...
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