Commit 357a484a authored by Oliver Stieber's avatar Oliver Stieber Committed by Alexandre Julliard

Enable dxt2 and dxt4 compressed textures to be created via

Device_CreateSurface.
parent 37548987
...@@ -673,8 +673,6 @@ HRESULT WINAPI IWineD3DDeviceImpl_CreateSurface(IWineD3DDevice *iface, UINT Wid ...@@ -673,8 +673,6 @@ HRESULT WINAPI IWineD3DDeviceImpl_CreateSurface(IWineD3DDevice *iface, UINT Wid
/** FIXME: Check that the format is supported /** FIXME: Check that the format is supported
* by the device. * by the device.
*******************************/ *******************************/
/* TODO: add support for dxt2 and dxt4 formats */
if (Format == D3DFMT_DXT2 || Format == D3DFMT_DXT4) return D3DERR_NOTAVAILABLE;
/* Non-power2 support */ /* Non-power2 support */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment