wined3d: Only set SFLAG_DYNLOCK when map_binding = sysmem.
commitd640018a3c1d5b6bc109891cc4acf894a6c4413a
authorStefan Dösinger <stefan@codeweavers.com>
Fri, 17 Jan 2014 12:27:18 +0000 (17 13:27 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 17 Jan 2014 17:10:18 +0000 (17 18:10 +0100)
tree3aa56178161058e69e03784d6f6803c51c69bdae
parent5630cb5dc8ef7e9a8195262726f73d6828f59a6c
wined3d: Only set SFLAG_DYNLOCK when map_binding = sysmem.

All other map bindings are never freed. Setting SFLAG_DYNLOCK if
map_binding != sysmem might only keep a heap memory allocation around
(e.g. after device_reset) that is never used.
dlls/wined3d/surface.c