wined3d: Do not preload surfaces when attaching them to an FBO.
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 3 Feb 2010 17:17:58 +0000 (18:17 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 4 Feb 2010 12:39:26 +0000 (13:39 +0100)
commitaf7dfcd378739127c50aa95ce40b13eb3d1950cf
tree9ea802bbaf717bd90e1592b3057de1ecbc574781
parent02e0b3ae1a3b3162026cdfacf077d4d3accb4ff0
wined3d: Do not preload surfaces when attaching them to an FBO.

Just make sure the texture is allocated, so we have something to attach. Note
also that context_apply_attachment_filter_states() runs under the GL lock, so
preloading resources is actually unsafe there.
dlls/wined3d/context.c
dlls/wined3d/surface.c
dlls/wined3d/wined3d_private.h