(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.y = msg_height;
|
||||||
font_parms.scale = 21;
|
font_parms.scale = 21;
|
||||||
#endif
|
#endif
|
||||||
d3d->font_ctx->render_msg(d3d, msg, &font_params);
|
d3d->font_ctx->render_msg(d3d, msg, &font_parms);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
|
@ -1135,6 +1135,7 @@ static const gfx_ctx_driver_t *d3d_get_context(void)
|
||||||
api = GFX_CTX_DIRECT3D9_API;
|
api = GFX_CTX_DIRECT3D9_API;
|
||||||
major = 9;
|
major = 9;
|
||||||
#endif
|
#endif
|
||||||
|
minor = 0;
|
||||||
return gfx_ctx_init_first(api, major, minor);
|
return gfx_ctx_init_first(api, major, minor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ static void gfx_ctx_d3d_update_title(void)
|
||||||
{
|
{
|
||||||
#ifndef _XBOX
|
#ifndef _XBOX
|
||||||
std::string title = buffer;
|
std::string title = buffer;
|
||||||
title += " || Direct3D9";
|
title += " || Direct3D";
|
||||||
SetWindowText(d3d->hWnd, title.c_str());
|
SetWindowText(d3d->hWnd, title.c_str());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue