libretro: Recreate resources after context reset

This commit is contained in:
Connor McLaughlin
2020-08-23 14:21:06 +10:00
parent 32921acc5a
commit df14519a97
4 changed files with 15 additions and 0 deletions

View File

@ -59,6 +59,8 @@ public:
virtual void DestroyRenderDevice() = 0;
virtual void DestroyRenderSurface() = 0;
virtual bool ChangeRenderWindow(const WindowInfo& wi) = 0;
virtual bool CreateResources() = 0;
virtual void DestroyResources() = 0;
/// Call when the window size changes externally to recreate any resources.
virtual void ResizeRenderWindow(s32 new_window_width, s32 new_window_height) = 0;