mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-29 23:42:14 +00:00
(renderchain/d3d) Use void pointer
This commit is contained in:
parent
b40baa6323
commit
4e8000571f
@ -1488,14 +1488,14 @@ static bool cg_d3d9_renderchain_render(
|
||||
return true;
|
||||
}
|
||||
|
||||
static void cg_d3d9_renderchain_set_font_rect(void *data,
|
||||
const struct font_params *params)
|
||||
static void cg_d3d9_renderchain_set_font_rect(void *data, const void *font_data)
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
d3d_video_t *d3d = (d3d_video_t*)data;
|
||||
float pos_x = settings->video.msg_pos_x;
|
||||
float pos_y = settings->video.msg_pos_y;
|
||||
float font_size = settings->video.font_size;
|
||||
settings_t *settings = config_get_ptr();
|
||||
d3d_video_t *d3d = (d3d_video_t*)data;
|
||||
float pos_x = settings->video.msg_pos_x;
|
||||
float pos_y = settings->video.msg_pos_y;
|
||||
float font_size = settings->video.font_size;
|
||||
const struct font_params *params = (const struct font_params*)font_data;
|
||||
|
||||
if (params)
|
||||
{
|
||||
|
@ -67,7 +67,7 @@ typedef struct renderchain_driver
|
||||
unsigned *out_width, unsigned *out_height,
|
||||
unsigned width, unsigned height,
|
||||
void *final_viewport);
|
||||
void (*set_font_rect)(void *data, const struct font_params *params);
|
||||
void (*set_font_rect)(void *data, const void *param_data);
|
||||
bool (*read_viewport)(void *data, uint8_t *buffer);
|
||||
void (*viewport_info)(void *data, struct video_viewport *vp);
|
||||
const char *ident;
|
||||
|
Loading…
x
Reference in New Issue
Block a user