wined3d: Don't get rid of the user memory unless we're actually called with NULL...
commit4b1ba0e02d62399298fcad276b7c6d9377937b1f
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 23 Aug 2011 18:08:05 +0000 (23 20:08 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 24 Aug 2011 09:58:14 +0000 (24 11:58 +0200)
tree37a8e579475dad3550f7a1e9bf32c6d6459b173b
parent1ad1474be5705528a081295e461d3a39931ae96c
wined3d: Don't get rid of the user memory unless we're actually called with NULL in surface_set_mem().

In particular, some applications will call surface_set_mem() with the same
pointer to notify us the contents have changed.
dlls/wined3d/surface.c