Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpd002 committed Jul 28, 2023
1 parent 48976a8 commit d112f45
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Source/gs/GSH_Direct3D9/GSH_Direct3D9.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,11 +430,11 @@ unsigned int CGSH_Direct3D9::GetCurrentReadCircuit()
return 0;
}

void CGSH_Direct3D9::FlipImpl()
void CGSH_Direct3D9::FlipImpl(const DISPLAY_INFO& dispInfo)
{
DrawActiveFramebuffer();
PresentBackbuffer();
CGSHandler::FlipImpl();
CGSHandler::FlipImpl(dispInfo);
}

void CGSH_Direct3D9::DrawActiveFramebuffer()
Expand Down
2 changes: 1 addition & 1 deletion Source/gs/GSH_Direct3D9/GSH_Direct3D9.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class CGSH_Direct3D9 : public CGSHandler, public CGsDebuggerInterface
void ResetImpl() override;
void InitializeImpl() override;
void ReleaseImpl() override;
void FlipImpl() override;
void FlipImpl(const DISPLAY_INFO&) override;

void WriteRegisterImpl(uint8, uint64) override;

Expand Down
4 changes: 2 additions & 2 deletions Source/ui_libretro/GSH_OpenGL_Libretro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ void CGSH_OpenGL_Libretro::Release()
CGSH_OpenGL::ReleaseImpl();
}

void CGSH_OpenGL_Libretro::FlipImpl()
void CGSH_OpenGL_Libretro::FlipImpl(const DISPLAY_INFO& dispInfo)
{
CLog::GetInstance().Print(LOG_NAME, "%s\n", __FUNCTION__);

Expand All @@ -103,7 +103,7 @@ void CGSH_OpenGL_Libretro::FlipImpl()
else
return;

CGSH_OpenGL::FlipImpl();
CGSH_OpenGL::FlipImpl(dispInfo);
}

void CGSH_OpenGL_Libretro::PresentBackbuffer()
Expand Down
2 changes: 1 addition & 1 deletion Source/ui_libretro/GSH_OpenGL_Libretro.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class CGSH_OpenGL_Libretro : public CGSH_OpenGL
static FactoryFunction GetFactoryFunction();

void InitializeImpl() override;
void FlipImpl() override;
void FlipImpl(const DISPLAY_INFO&) override;
void Reset();
void Release();
void PresentBackbuffer() override;
Expand Down

0 comments on commit d112f45

Please sign in to comment.