diff options
author | Marek Olšák <[email protected]> | 2016-08-09 00:37:39 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-08-10 01:10:21 +0200 |
commit | a909210131494a6a131855d7d344b61b81fbf40e (patch) | |
tree | a25cc63fd6c7e7905873916bd3ba9002528b6664 /src/gallium/state_trackers/nine/surface9.c | |
parent | a7c6993a33e894556e45fc2882ad19f34274d689 (diff) |
gallium: add render_condition_enable param to clear_render_target/depth_stencil
Reviewed-by: Roland Scheidegger <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/surface9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/surface9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/surface9.c b/src/gallium/state_trackers/nine/surface9.c index 6a4a0d9dc74..0cedd4ecf3f 100644 --- a/src/gallium/state_trackers/nine/surface9.c +++ b/src/gallium/state_trackers/nine/surface9.c @@ -164,7 +164,7 @@ NineSurface9_ctor( struct NineSurface9 *This, /* TODO: investigate what else exactly needs to be cleared */ if (This->base.resource && (pDesc->Usage & D3DUSAGE_RENDERTARGET)) { surf = NineSurface9_GetSurface(This, 0); - pipe->clear_render_target(pipe, surf, &rgba, 0, 0, pDesc->Width, pDesc->Height); + pipe->clear_render_target(pipe, surf, &rgba, 0, 0, pDesc->Width, pDesc->Height, false); } NineSurface9_Dump(This); |