mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
win32: respect rgui fullscreen param in d3d
This commit is contained in:
parent
1485da361b
commit
41336a506f
@ -1208,9 +1208,10 @@ void D3DVideo::set_rgui_texture_frame(const void *frame,
|
||||
}
|
||||
}
|
||||
|
||||
void D3DVideo::set_rgui_texture_enable(bool state)
|
||||
void D3DVideo::set_rgui_texture_enable(bool state, bool fullscreen)
|
||||
{
|
||||
rgui.enabled = state;
|
||||
rgui.fullscreen = fullscreen;
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -1438,8 +1439,7 @@ static void d3d9_set_rgui_texture_frame(void *data,
|
||||
|
||||
static void d3d9_set_rgui_texture_enable(void *data, bool state, bool full_screen)
|
||||
{
|
||||
(void)full_screen; // Ignore for now.
|
||||
reinterpret_cast<D3DVideo*>(data)->set_rgui_texture_enable(state);
|
||||
reinterpret_cast<D3DVideo*>(data)->set_rgui_texture_enable(state, full_screen);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -89,7 +89,7 @@ class D3DVideo
|
||||
void set_rgui_texture_frame(const void *frame,
|
||||
bool rgb32, unsigned width, unsigned height,
|
||||
float alpha);
|
||||
void set_rgui_texture_enable(bool state);
|
||||
void set_rgui_texture_enable(bool state, bool fullscreen);
|
||||
#endif
|
||||
|
||||
bool restore();
|
||||
|
Loading…
x
Reference in New Issue
Block a user