mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Pass d3d->font_handle to 'init_first'
This commit is contained in:
parent
ff57f65841
commit
8f3e83ad10
@ -311,7 +311,7 @@ static bool d3d_initialize(d3d_video_t *d3d, const video_info_t *info)
|
||||
strlcpy(settings->video.font_path, "game:\\media\\Arial_12.xpr",
|
||||
sizeof(settings->video.font_path));
|
||||
#endif
|
||||
if (!d3d_font_init_first(&d3d->font_driver, NULL,
|
||||
if (!d3d_font_init_first(&d3d->font_driver, &d3d->font_handle,
|
||||
d3d, settings->video.font_path, 0))
|
||||
{
|
||||
RARCH_ERR("[D3D]: Failed to initialize font renderer.\n");
|
||||
|
@ -100,6 +100,7 @@ void d3d_make_d3dpp(void *data, const video_info_t *info, D3DPRESENT_PARAMETERS
|
||||
typedef struct d3d_video
|
||||
{
|
||||
const void *font_driver;
|
||||
void *font_handle;
|
||||
const gfx_ctx_driver_t *ctx_driver;
|
||||
#if defined(HAVE_CG) || defined(HAVE_HLSL) || defined(HAVE_GLSL)
|
||||
#ifdef _XBOX
|
||||
|
Loading…
x
Reference in New Issue
Block a user