win32: respect rgui fullscreen param in d3d

This commit is contained in:
OV2 2013-04-13 16:58:05 +02:00
parent 1485da361b
commit 41336a506f
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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();