mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 18:58:21 +00:00
(Xbox 1) take out unused surface
This commit is contained in:
parent
3bfe0a82c8
commit
4b07c7dfc1
@ -233,9 +233,6 @@ static void *xdk_d3d_init(const video_info_t *video, const input_driver_t **inpu
|
|||||||
d3d->d3d_render_device->SetTransform(D3DTS_WORLD, &mat);
|
d3d->d3d_render_device->SetTransform(D3DTS_WORLD, &mat);
|
||||||
d3d->d3d_render_device->SetTransform(D3DTS_VIEW, &mat);
|
d3d->d3d_render_device->SetTransform(D3DTS_VIEW, &mat);
|
||||||
|
|
||||||
//Create a temporary surface
|
|
||||||
d3d->d3d_render_device->CreateImageSurface(512, 512, D3DFMT_A8R8G8B8, &d3d->lpSurface);
|
|
||||||
|
|
||||||
d3d->d3d_render_device->CreateTexture(512, 512, 1, 0, D3DFMT_LIN_X1R5G5B5, 0, &d3d->lpTexture);
|
d3d->d3d_render_device->CreateTexture(512, 512, 1, 0, D3DFMT_LIN_X1R5G5B5, 0, &d3d->lpTexture);
|
||||||
D3DLOCKED_RECT d3dlr;
|
D3DLOCKED_RECT d3dlr;
|
||||||
d3d->lpTexture->LockRect(0, &d3dlr, NULL, 0);
|
d3d->lpTexture->LockRect(0, &d3dlr, NULL, 0);
|
||||||
|
@ -80,7 +80,6 @@ typedef struct xdk_d3d_video
|
|||||||
D3DTexture lpTexture_ot_as16srgb;
|
D3DTexture lpTexture_ot_as16srgb;
|
||||||
LPDIRECT3DTEXTURE_PTR lpTexture_ot;
|
LPDIRECT3DTEXTURE_PTR lpTexture_ot;
|
||||||
D3DPRESENT_PARAMETERS d3dpp;
|
D3DPRESENT_PARAMETERS d3dpp;
|
||||||
LPDIRECT3DSURFACE_PTR lpSurface;
|
|
||||||
} xdk_d3d_video_t;
|
} xdk_d3d_video_t;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user