Re: [PATCH 2/3] d3dx9: Return D3DERR_INVALIDCALL in D3DXLoadSurfaceFromMemory if pDestRect is invalid
26 Jul
2010
26 Jul
'10
2:49 p.m.
2010/7/25 <tony.wasserka(a)freenet.de>:
+ if(pDestRect->left > pDestRect->right || pDestRect->top > pDestRect->bottom) return D3DERR_INVALIDCALL; + if(pDestRect->left > surfdesc.Width || pDestRect->right > surfdesc.Width) return D3DERR_INVALIDCALL;
If left <= right <= Width, left can never be > Width.
5708
Age (days ago)
5708
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet