mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(D3D) Implement (rather stub) set_video_mode
This commit is contained in:
parent
5ea9bfe7e5
commit
a7df537dde
@ -282,6 +282,13 @@ static void gfx_ctx_d3d_input_driver(void *data,
|
|||||||
(void)data;
|
(void)data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void gfx_ctx_d3d_set_video_mode(void *data,
|
||||||
|
unsigned width, unsigned height,
|
||||||
|
bool fullscreen)
|
||||||
|
{
|
||||||
|
win32_show_cursor(!fullscreen);
|
||||||
|
}
|
||||||
|
|
||||||
static void gfx_ctx_d3d_get_video_size(void *data,
|
static void gfx_ctx_d3d_get_video_size(void *data,
|
||||||
unsigned *width, unsigned *height)
|
unsigned *width, unsigned *height)
|
||||||
{
|
{
|
||||||
@ -401,7 +408,7 @@ const gfx_ctx_driver_t gfx_ctx_d3d = {
|
|||||||
gfx_ctx_d3d_destroy,
|
gfx_ctx_d3d_destroy,
|
||||||
gfx_ctx_d3d_bind_api,
|
gfx_ctx_d3d_bind_api,
|
||||||
gfx_ctx_d3d_swap_interval,
|
gfx_ctx_d3d_swap_interval,
|
||||||
NULL,
|
gfx_ctx_d3d_set_video_mode,
|
||||||
gfx_ctx_d3d_get_video_size,
|
gfx_ctx_d3d_get_video_size,
|
||||||
NULL, /* get_video_output_size */
|
NULL, /* get_video_output_size */
|
||||||
NULL, /* get_video_output_prev */
|
NULL, /* get_video_output_prev */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user