From e50339ee7939ec728f9cd7adc07b9ac8aed45814 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 12 Nov 2015 01:32:01 +0100 Subject: [PATCH] Call d3d_set_vertex_declaration --- gfx/d3d/d3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/d3d/d3d.cpp b/gfx/d3d/d3d.cpp index 9436bdeb1a..b8c07dbc2f 100644 --- a/gfx/d3d/d3d.cpp +++ b/gfx/d3d/d3d.cpp @@ -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