mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Create gfx_ctx_ctl
This commit is contained in:
parent
e3b2abed9e
commit
753fd86c2e
@ -442,3 +442,15 @@ const gfx_ctx_driver_t *gfx_ctx_init_first(void *data,
|
||||
return gfx_ctx_find_driver(data, ident, api,
|
||||
major, minor, hw_render_ctx);
|
||||
}
|
||||
|
||||
bool gfx_ctx_ctl(enum gfx_ctx_ctl_state state, void *data)
|
||||
{
|
||||
switch (state)
|
||||
{
|
||||
case GFX_CTL_NONE:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
@ -51,6 +51,11 @@ enum display_metric_types
|
||||
DISPLAY_METRIC_DPI
|
||||
};
|
||||
|
||||
enum gfx_ctx_ctl_state
|
||||
{
|
||||
GFX_CTL_NONE = 0
|
||||
};
|
||||
|
||||
typedef void (*gfx_ctx_proc_t)(void);
|
||||
|
||||
typedef struct gfx_ctx_driver
|
||||
@ -254,6 +259,8 @@ void gfx_ctx_set(const gfx_ctx_driver_t *ctx_driver);
|
||||
|
||||
void gfx_ctx_destroy(const gfx_ctx_driver_t *ctx_driver);
|
||||
|
||||
bool gfx_ctx_ctl(enum gfx_ctx_ctl_state state, void *data);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user