mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
wined3d: Report software processing in CheckDeviceFormat.
This commit is contained in:
parent
30a3bc2651
commit
fd71421ebe
@ -2258,6 +2258,10 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
|
||||
}
|
||||
}
|
||||
|
||||
/* Always report software processing */
|
||||
if(Usage & WINED3DUSAGE_SOFTWAREPROCESSING)
|
||||
UsageCaps |= WINED3DUSAGE_SOFTWAREPROCESSING;
|
||||
|
||||
/* Check QUERY_FILTER support */
|
||||
if(Usage & WINED3DUSAGE_QUERY_FILTER) {
|
||||
if(CheckFilterCapability(CheckFormat)) {
|
||||
@ -2350,6 +2354,10 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
|
||||
}
|
||||
}
|
||||
|
||||
/* Always report software processing */
|
||||
if(Usage & WINED3DUSAGE_SOFTWAREPROCESSING)
|
||||
UsageCaps |= WINED3DUSAGE_SOFTWAREPROCESSING;
|
||||
|
||||
/* Check QUERY_FILTER support */
|
||||
if(Usage & WINED3DUSAGE_QUERY_FILTER) {
|
||||
if(CheckFilterCapability(CheckFormat)) {
|
||||
@ -2411,6 +2419,10 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
|
||||
if(Usage & WINED3DUSAGE_DYNAMIC)
|
||||
UsageCaps |= WINED3DUSAGE_DYNAMIC;
|
||||
|
||||
/* Always report software processing */
|
||||
if(Usage & WINED3DUSAGE_SOFTWAREPROCESSING)
|
||||
UsageCaps |= WINED3DUSAGE_SOFTWAREPROCESSING;
|
||||
|
||||
/* Check QUERY_FILTER support */
|
||||
if(Usage & WINED3DUSAGE_QUERY_FILTER) {
|
||||
if(CheckFilterCapability(CheckFormat)) {
|
||||
|
Loading…
Reference in New Issue
Block a user