Re: [2/2] wined3d: IWineD3DDeviceImpl_UpdateSurface: return D3DERR_INVALIDCALL if source and dest format do not match
9 Mar
2007
9 Mar
'07
5:06 a.m.
On 09/03/07, Fabian Bieler <der.fabe(a)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.
6857
Age (days ago)
6857
Last active (days ago)
0 comments
1 participants
participants (1)
-
H. Verbeet