diff --git a/xbox1/xdk_d3d8.cpp b/xbox1/xdk_d3d8.cpp index f8763544d8..a106f8aa8a 100644 --- a/xbox1/xdk_d3d8.cpp +++ b/xbox1/xdk_d3d8.cpp @@ -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_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); D3DLOCKED_RECT d3dlr; d3d->lpTexture->LockRect(0, &d3dlr, NULL, 0); diff --git a/xbox1/xdk_d3d8.h b/xbox1/xdk_d3d8.h index 4b35883b85..7cf119a642 100644 --- a/xbox1/xdk_d3d8.h +++ b/xbox1/xdk_d3d8.h @@ -80,7 +80,6 @@ typedef struct xdk_d3d_video D3DTexture lpTexture_ot_as16srgb; LPDIRECT3DTEXTURE_PTR lpTexture_ot; D3DPRESENT_PARAMETERS d3dpp; - LPDIRECT3DSURFACE_PTR lpSurface; } xdk_d3d_video_t; #endif