(XDK D3D) Cleanup - call to make_d3d_d3dpp unnecessary

This commit is contained in:
twinaphex 2014-05-30 06:17:10 +02:00
parent 61fdcf4836
commit 6e48692bf5

View File

@ -201,10 +201,6 @@ static void d3d_init_textures(void *data, const video_info_t *video)
{
HRESULT ret;
d3d_video_t *d3d = (d3d_video_t*)data;
D3DPRESENT_PARAMETERS d3dpp;
d3d_make_d3dpp(d3d, video, &d3dpp);
d3d->pixel_size = video->rgb32 ? sizeof(uint32_t) : sizeof(uint16_t);
if (d3d->tex)