mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
(D3D9) Update
This commit is contained in:
parent
34149e510e
commit
85da5360d2
@ -54,7 +54,7 @@ typedef struct d3d9_renderchain_driver
|
||||
unsigned *out_width, unsigned *out_height,
|
||||
unsigned width, unsigned height,
|
||||
D3DVIEWPORT9 *final_viewport);
|
||||
void (*set_font_rect)(d3d9_video_t *d3d, const void *param_data);
|
||||
void (*set_font_rect)(d3d9_video_t *d3d, const struct font_params *params);
|
||||
bool (*read_viewport)(d3d9_video_t *d3d, uint8_t *buffer, bool is_idle);
|
||||
const char *ident;
|
||||
} d3d9_renderchain_driver_t;
|
||||
|
@ -1535,13 +1535,12 @@ static bool d3d9_cg_renderchain_render(
|
||||
|
||||
static void d3d9_cg_renderchain_set_font_rect(
|
||||
d3d9_video_t *d3d,
|
||||
const void *font_data)
|
||||
const struct font_params *params)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
float pos_x = settings->floats.video_msg_pos_x;
|
||||
float pos_y = settings->floats.video_msg_pos_y;
|
||||
float font_size = settings->floats.video_font_size;
|
||||
const struct font_params *params = (const struct font_params*)font_data;
|
||||
|
||||
if (params)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user