st/nine: Remove NineDevice9_GetCSO

Was useless. Remove useless usage in
swapchain9.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
Axel Davy 2016-10-27 23:36:39 +02:00
parent 6a7541a5aa
commit 4a4eba8c05
4 changed files with 0 additions and 11 deletions

View file

@ -568,12 +568,6 @@ NineDevice9_GetPipe( struct NineDevice9 *This )
return This->pipe;
}
struct cso_context *
NineDevice9_GetCSO( struct NineDevice9 *This )
{
return This->cso;
}
const D3DCAPS9 *
NineDevice9_GetCaps( struct NineDevice9 *This )
{

View file

@ -201,9 +201,6 @@ NineDevice9_GetScreen( struct NineDevice9 *This );
struct pipe_context *
NineDevice9_GetPipe( struct NineDevice9 *This );
struct cso_context *
NineDevice9_GetCSO( struct NineDevice9 *This );
const D3DCAPS9 *
NineDevice9_GetCaps( struct NineDevice9 *This );

View file

@ -60,7 +60,6 @@ NineSwapChain9_ctor( struct NineSwapChain9 *This,
This->screen = NineDevice9_GetScreen(This->base.device);
This->pipe = NineDevice9_GetPipe(This->base.device);
This->cso = NineDevice9_GetCSO(This->base.device);
This->implicit = implicit;
This->actx = pCTX;
This->present = pPresent;

View file

@ -45,7 +45,6 @@ struct NineSwapChain9
/* G3D stuff */
struct pipe_screen *screen;
struct pipe_context *pipe;
struct cso_context *cso;
/* presentation backend */
ID3DPresent *present;