mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 05:15:01 +00:00
wined3d: Explicitly load and modify the surface in color_fill_fbo().
This commit is contained in:
parent
5f3dccddb4
commit
84913109f6
1 changed files with 3 additions and 0 deletions
|
@ -5387,6 +5387,9 @@ static void color_fill_fbo(IWineD3DDevice *iface, IWineD3DSurface *surface,
|
|||
IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *) iface;
|
||||
struct wined3d_context *context;
|
||||
|
||||
if (rect) IWineD3DSurface_LoadLocation(surface, SFLAG_INDRAWABLE, NULL);
|
||||
IWineD3DSurface_ModifyLocation(surface, SFLAG_INDRAWABLE, TRUE);
|
||||
|
||||
if (!surface_is_offscreen(surface))
|
||||
{
|
||||
TRACE("Surface %p is onscreen\n", surface);
|
||||
|
|
Loading…
Reference in a new issue