wgl: Recognize Vista's PFD_SUPPORT_COMPOSITION flag.
This commit is contained in:
parent
f076919ca8
commit
aab98fc6ea
|
@ -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");
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue