wined3d: Add the missing gamma cap.
This commit is contained in:
parent
bbf796c7a1
commit
4b55964a26
|
@ -1822,8 +1822,9 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
|
|||
*pCaps->AdapterOrdinal = Adapter;
|
||||
|
||||
*pCaps->Caps = 0;
|
||||
*pCaps->Caps2 = D3DCAPS2_CANRENDERWINDOWED;
|
||||
*pCaps->Caps3 = WINED3DDEVCAPS_HWTRANSFORMANDLIGHT;
|
||||
*pCaps->Caps2 = WINED3DCAPS2_CANRENDERWINDOWED |
|
||||
WINED3DCAPS2_FULLSCREENGAMMA;
|
||||
*pCaps->Caps3 = 0;
|
||||
*pCaps->PresentationIntervals = D3DPRESENT_INTERVAL_IMMEDIATE;
|
||||
|
||||
*pCaps->CursorCaps = 0;
|
||||
|
|
|
@ -1046,6 +1046,15 @@ typedef enum _WINED3DSURFTYPE {
|
|||
SURFACE_XRENDER /* Future dreams: Use XRENDER / EXA / whatever stuff */
|
||||
} WINED3DSURFTYPE;
|
||||
|
||||
#define WINED3DCAPS2_NO2DDURING3DSCENE 0x00000002L
|
||||
#define WINED3DCAPS2_FULLSCREENGAMMA 0x00020000L
|
||||
#define WINED3DCAPS2_CANRENDERWINDOWED 0x00080000L
|
||||
#define WINED3DCAPS2_CANCALIBRATEGAMMA 0x00100000L
|
||||
#define WINED3DCAPS2_RESERVED 0x02000000L
|
||||
#define WINED3DCAPS2_CANMANAGERESOURCE 0x10000000L
|
||||
#define WINED3DCAPS2_DYNAMICTEXTURES 0x20000000L
|
||||
#define WINED3DCAPS2_CANAUTOGENMIPMAP 0x40000000L
|
||||
|
||||
#define WINED3DPRASTERCAPS_DITHER 0x00000001L
|
||||
#define WINED3DPRASTERCAPS_ROP2 0x00000002L
|
||||
#define WINED3DPRASTERCAPS_XOR 0x00000004L
|
||||
|
|
Loading…
Reference in New Issue