wined3d: Don't clear the alloc flags in wined3d_surface_set_format().
commit8153674c4a25c625c5705a182792300b66475f9f
authorHenri Verbeet <hverbeet@codeweavers.com>
Tue, 14 Jun 2011 18:28:12 +0000 (14 20:28 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 15 Jun 2011 18:04:38 +0000 (15 20:04 +0200)
treef85b3e4381d5a1420703e5c5e575c1061ef91d52
parentc19c26e4be76e206043f8a81b5b5f39589df4cbd
wined3d: Don't clear the alloc flags in wined3d_surface_set_format().

Changing the format is only allowed for surfaces with format
WINED3DFMT_UNKNOWN, in which case there can't be a GL texture allocated.
dlls/wined3d/surface.c