mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 03:10:14 +00:00
(D3D) Build fix
This commit is contained in:
parent
8714939ab7
commit
856f7a2e2c
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user