From aaee638f6d207d2e721c87e4d618319dbf9376bc Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sun, 5 Apr 2015 17:08:22 +0200 Subject: [PATCH] (D3D) Cleanup --- 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 e3eb5a5591..ea79603049 100644 --- a/gfx/d3d/d3d.cpp +++ b/gfx/d3d/d3d.cpp @@ -1480,7 +1480,7 @@ static void d3d_free_overlay(d3d_video_t *d3d, overlay_t *overlay) return; d3d_texture_free(overlay->tex); - d3d_vertex_buffer_free(overlay->vert_buf); + d3d_vertex_buffer_free(overlay->vert_buf, NULL); } static void d3d_free_overlays(d3d_video_t *d3d)