(D3D) Build fix

This commit is contained in:
twinaphex 2014-03-07 21:58:21 +01:00
parent 8714939ab7
commit 856f7a2e2c
2 changed files with 3 additions and 2 deletions

View File

@ -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);
}

View File

@ -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
}