libretro: Re-query hardware render interface after AV system info change
I suspect the frontend is supposed to call context_reset/destroy here, but it's not for whatever reason, and this works around it.
This commit is contained in:
@@ -135,6 +135,12 @@ void LibretroOpenGLHostDisplay::ResizeRenderWindow(s32 new_window_width, s32 new
|
||||
m_window_info.surface_height = static_cast<u32>(new_window_height);
|
||||
}
|
||||
|
||||
bool LibretroOpenGLHostDisplay::ChangeRenderWindow(const WindowInfo& new_wi)
|
||||
{
|
||||
m_window_info = new_wi;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool LibretroOpenGLHostDisplay::Render()
|
||||
{
|
||||
const GLuint fbo = static_cast<GLuint>(
|
||||
|
||||
Reference in New Issue
Block a user