wined3d: When volume textures aren't around (GL_EXT_texture3D not supported) return WINED3DERR_NOTAVAILABLE.
This commit is contained in:
parent
eef51ed4ca
commit
6f3127291f
|
@ -2472,6 +2472,9 @@ static HRESULT WINAPI IWineD3DImpl_CheckDeviceFormat(IWineD3D *iface, UINT Adapt
|
|||
return WINED3DERR_NOTAVAILABLE;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
TRACE_(d3d_caps)("[FAILED] - No volume texture support\n");
|
||||
return WINED3DERR_NOTAVAILABLE;
|
||||
}
|
||||
|
||||
/* Filter formats that need conversion; For one part, this conversion is unimplemented,
|
||||
|
|
Loading…
Reference in New Issue