From 856f7a2e2c121977d901b44582a42cfdeedb4e25 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 7 Mar 2014 21:58:21 +0100 Subject: [PATCH] (D3D) Build fix --- gfx/d3d9/d3d.cpp | 3 ++- gfx/d3d9/d3d9_pc.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gfx/d3d9/d3d.cpp b/gfx/d3d9/d3d.cpp index 67e381ee52..5d41c64d77 100644 --- a/gfx/d3d9/d3d.cpp +++ b/gfx/d3d9/d3d.cpp @@ -494,7 +494,7 @@ static bool d3d_frame(void *data, const void *frame, font_parms.y = msg_height; font_parms.scale = 21; #endif - d3d->font_ctx->render_msg(d3d, msg, &font_params); + d3d->font_ctx->render_msg(d3d, msg, &font_parms); } #ifdef HAVE_MENU @@ -1135,6 +1135,7 @@ static const gfx_ctx_driver_t *d3d_get_context(void) api = GFX_CTX_DIRECT3D9_API; major = 9; #endif + minor = 0; return gfx_ctx_init_first(api, major, minor); } diff --git a/gfx/d3d9/d3d9_pc.cpp b/gfx/d3d9/d3d9_pc.cpp index c90e9fbc9c..b1de4fb943 100644 --- a/gfx/d3d9/d3d9_pc.cpp +++ b/gfx/d3d9/d3d9_pc.cpp @@ -126,7 +126,7 @@ static void gfx_ctx_d3d_update_title(void) { #ifndef _XBOX std::string title = buffer; - title += " || Direct3D9"; + title += " || Direct3D"; SetWindowText(d3d->hWnd, title.c_str()); #endif }