Call d3d_set_vertex_declaration

This commit is contained in:
twinaphex 2015-11-12 01:32:01 +01:00
parent 7a76d7e0a7
commit e50339ee79

View File

@ -1287,7 +1287,7 @@ static void d3d_overlay_render(d3d_video_t *d3d, overlay_t *overlay)
#ifndef _XBOX1
d3d->dev->CreateVertexDeclaration(vElems, &vertex_decl);
d3d->dev->SetVertexDeclaration(vertex_decl);
d3d_set_vertex_declaration(d3d->dev, vertex_decl);
vertex_decl->Release();
#endif