diff options
author | Axel Davy <[email protected]> | 2015-05-04 00:17:09 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2015-08-21 22:21:46 +0200 |
commit | 43d5c5a11b35dc09f369b08ff7066ccc8ab34e82 (patch) | |
tree | 127a9d33bf5fd79efc76c47367d1ee482f1d504a /src/gallium/state_trackers/nine/texture9.c | |
parent | e139e0debd2e0dfa1f233adafab4a0c322598a7e (diff) |
st/nine: Textures start dirty
According to the spec all textures start
dirty.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/texture9.c')
-rw-r--r-- | src/gallium/state_trackers/nine/texture9.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/texture9.c b/src/gallium/state_trackers/nine/texture9.c index 0127301ebda..6822865287a 100644 --- a/src/gallium/state_trackers/nine/texture9.c +++ b/src/gallium/state_trackers/nine/texture9.c @@ -202,6 +202,9 @@ NineTexture9_ctor( struct NineTexture9 *This, return hr; } + /* Textures start initially dirty */ + This->dirty_rect.width = Width; + This->dirty_rect.height = Height; This->dirty_rect.depth = 1; /* widht == 0 means empty, depth stays 1 */ if (pSharedHandle && !*pSharedHandle) {/* Pool == D3DPOOL_SYSTEMMEM */ |