diff options
author | Axel Davy <[email protected]> | 2016-10-21 17:14:14 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-12-20 23:44:20 +0100 |
commit | fad0f147fb6590e85bd77d44494a4813a15dfd5b (patch) | |
tree | 5491f55dec3df2736024c6a83f37bbf0f4b1e878 /src | |
parent | 503d72902955441425fa7f612026c0188c4cc0ac (diff) |
st/nine: Remove useless check in surface9 ctor
Textures already have the check in BaseTexture9.
Non-Textures cannot be in the MANAGED Pool.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/state_trackers/nine/surface9.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/nine/surface9.c b/src/gallium/state_trackers/nine/surface9.c index 2efdfd1b878..a172a10d42d 100644 --- a/src/gallium/state_trackers/nine/surface9.c +++ b/src/gallium/state_trackers/nine/surface9.c @@ -68,10 +68,6 @@ NineSurface9_ctor( struct NineSurface9 *This, /* Make sure there's a Desc */ assert(pDesc); - /* D3DUSAGE_DYNAMIC isn't allowed on managed buffers */ - user_assert(!(pDesc->Usage & D3DUSAGE_DYNAMIC) || - (pDesc->Pool != D3DPOOL_MANAGED), D3DERR_INVALIDCALL); - assert(allocate || pResource || user_buffer || pDesc->Format == D3DFMT_NULL); assert(!allocate || (!pResource && !user_buffer)); |