wined3d: Use draw_binding in surface_realize_palette().
This commit is contained in:
parent
683b52ed92
commit
1d43f07239
|
@ -811,7 +811,7 @@ static void surface_realize_palette(struct wined3d_surface *surface)
|
|||
|
||||
/* Propagate the changes to the drawable when we have a palette. */
|
||||
if (surface->resource.usage & WINED3DUSAGE_RENDERTARGET)
|
||||
surface_load_location(surface, SFLAG_INDRAWABLE, NULL);
|
||||
surface_load_location(surface, surface->draw_binding, NULL);
|
||||
}
|
||||
|
||||
static HRESULT surface_draw_overlay(struct wined3d_surface *surface)
|
||||
|
|
Loading…
Reference in New Issue