ddraw: Do not report DDCAPS_OVERLAY and friends since overlays are not supported.
This commit is contained in:
parent
65c9113e8f
commit
c7ae07adf4
|
@ -249,10 +249,11 @@ DDRAW_Create(GUID *guid,
|
||||||
|
|
||||||
/* Initialize the caps */
|
/* Initialize the caps */
|
||||||
This->caps.dwSize = sizeof(This->caps);
|
This->caps.dwSize = sizeof(This->caps);
|
||||||
|
/* do not report DDCAPS_OVERLAY and friends since we don't support overlays */
|
||||||
#define BLIT_CAPS (DDCAPS_BLT | DDCAPS_BLTCOLORFILL | DDCAPS_BLTDEPTHFILL \
|
#define BLIT_CAPS (DDCAPS_BLT | DDCAPS_BLTCOLORFILL | DDCAPS_BLTDEPTHFILL \
|
||||||
| DDCAPS_BLTSTRETCH | DDCAPS_CANBLTSYSMEM | DDCAPS_CANCLIP \
|
| DDCAPS_BLTSTRETCH | DDCAPS_CANBLTSYSMEM | DDCAPS_CANCLIP \
|
||||||
| DDCAPS_CANCLIPSTRETCHED | DDCAPS_COLORKEY \
|
| DDCAPS_CANCLIPSTRETCHED | DDCAPS_COLORKEY \
|
||||||
| DDCAPS_COLORKEYHWASSIST | DDCAPS_OVERLAY | DDCAPS_OVERLAYSTRETCH |DDCAPS_ALIGNBOUNDARYSRC )
|
| DDCAPS_COLORKEYHWASSIST | DDCAPS_ALIGNBOUNDARYSRC )
|
||||||
#define CKEY_CAPS (DDCKEYCAPS_DESTBLT | DDCKEYCAPS_SRCBLT)
|
#define CKEY_CAPS (DDCKEYCAPS_DESTBLT | DDCKEYCAPS_SRCBLT)
|
||||||
#define FX_CAPS (DDFXCAPS_BLTALPHA | DDFXCAPS_BLTMIRRORLEFTRIGHT \
|
#define FX_CAPS (DDFXCAPS_BLTALPHA | DDFXCAPS_BLTMIRRORLEFTRIGHT \
|
||||||
| DDFXCAPS_BLTMIRRORUPDOWN | DDFXCAPS_BLTROTATION90 \
|
| DDFXCAPS_BLTMIRRORUPDOWN | DDFXCAPS_BLTROTATION90 \
|
||||||
|
|
Loading…
Reference in New Issue