Enable dxt2 and dxt4 compressed textures to be created via

Device_CreateSurface.
oldstable
Oliver Stieber 2005-09-23 10:48:01 +00:00 committed by Alexandre Julliard
parent 37548987ad
commit 357a484a7e
1 changed files with 0 additions and 2 deletions

View File

@ -673,8 +673,6 @@ HRESULT WINAPI IWineD3DDeviceImpl_CreateSurface(IWineD3DDevice *iface, UINT Wid
/** FIXME: Check that the format is supported
* by the device.
*******************************/
/* TODO: add support for dxt2 and dxt4 formats */
if (Format == D3DFMT_DXT2 || Format == D3DFMT_DXT4) return D3DERR_NOTAVAILABLE;
/* Non-power2 support */