summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/basetexture9.h
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2014-11-25 00:38:02 +0100
committerEmil Velikov <[email protected]>2014-11-26 20:09:10 +0000
commit133b2087c5ba9942527bc1b218a32205fb7a10a6 (patch)
tree3c96b5bc16a1d23e286e0c022fdae4e7941d7331 /src/gallium/state_trackers/nine/basetexture9.h
parent104b5a81933b7a2f4fa24302a1d972ad3dd0dec6 (diff)
st/nine: Rework Basetexture9 and Resource9.
Instead of having parts of the structures initialised by the parents, have them initialised by the children. Cc: "10.4" <[email protected]> Tested-by: David Heidelberg <[email protected]> Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/basetexture9.h')
-rw-r--r--src/gallium/state_trackers/nine/basetexture9.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/nine/basetexture9.h b/src/gallium/state_trackers/nine/basetexture9.h
index d615376f09b..006277104a0 100644
--- a/src/gallium/state_trackers/nine/basetexture9.h
+++ b/src/gallium/state_trackers/nine/basetexture9.h
@@ -59,8 +59,11 @@ NineBaseTexture9( void *data )
HRESULT
NineBaseTexture9_ctor( struct NineBaseTexture9 *This,
struct NineUnknownParams *pParams,
+ struct pipe_resource *initResource,
D3DRESOURCETYPE Type,
- D3DPOOL Pool );
+ D3DFORMAT format,
+ D3DPOOL Pool,
+ DWORD Usage);
void
NineBaseTexture9_dtor( struct NineBaseTexture9 *This );