Commit f876bf6f authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

Report that we do not support compressed texture yet.

parent c6f5baac
......@@ -341,6 +341,12 @@ create_texture(IDirectDrawImpl* This, const DDSURFACEDESC2 *pDDSD,
ddsd.u4.ddpfPixelFormat = This->pixelformat;
}
/* We do not support for now compressed texture formats... */
if (ddsd.u4.ddpfPixelFormat.dwFlags & DDPF_FOURCC)
{
return DDERR_INVALIDPIXELFORMAT;
}
if (!(ddsd.dwFlags & DDSD_PITCH))
{
ddsd.u1.lPitch = DDRAW_width_bpp_to_pitch(ddsd.dwWidth,
......
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