From 456a9f4245eb66d37fb3e24dc51e65f82c63da3f Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Sun, 16 Mar 2014 14:50:09 +0100 Subject: [PATCH] (D3D) Don't add Direct3D to window title --- gfx/context/d3d_ctx.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gfx/context/d3d_ctx.cpp b/gfx/context/d3d_ctx.cpp index e755e177d3..b4670d61d8 100644 --- a/gfx/context/d3d_ctx.cpp +++ b/gfx/context/d3d_ctx.cpp @@ -133,9 +133,7 @@ static void gfx_ctx_d3d_update_title(void *data) if (gfx_get_fps(buffer, sizeof(buffer), fps_draw ? buffer_fps : NULL, sizeof(buffer_fps))) { #ifndef _XBOX - std::string title = buffer; - title += " || Direct3D"; - SetWindowText(d3d->hWnd, title.c_str()); + SetWindowText(d3d->hWnd, buffer); #endif }