On 09/03/07, Fabian Bieler der.fabe@gmx.net wrote:
- if (destFormat != srcFormat) {
WARN("source %p and dest %p must match, returning WINED3DERR_INVALIDCALL\n", pSourceSurface, pDestinationSurface);
return WINED3DERR_INVALIDCALL;
- }
You should probably print the actual formats there, using debug_d3dformat(). Also, a test wouldn't hurt.