wined3d: Return WINED3DERR_NOTAVAILABLE when cubemapping isn't supported.
This commit is contained in:
parent
616944ae7e
commit
460f0d1608
|
@ -2312,6 +2312,9 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
TRACE_(d3d_caps)("[FAILED] - No cube texture support\n");
|
||||
return WINED3DERR_NOTAVAILABLE;
|
||||
}
|
||||
} else if(RType == WINED3DRTYPE_SURFACE) {
|
||||
/* Surface allows:
|
||||
|
|
Loading…
Reference in New Issue