mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Core: Remove UpdateFPSDisplay
This is effectively unused, as the window handles that we pass to the GLInterface are window handles for the frame which isn't ever a real toplevel window. Host_UpdateTitle is what actually sets the proper title on the render window.
This commit is contained in:
parent
7ca8d8dfc7
commit
63f1a16969
16 changed files with 0 additions and 49 deletions
|
@ -7,9 +7,6 @@
|
|||
#include "VideoCommon/RenderBase.h"
|
||||
|
||||
// Show the current FPS
|
||||
void cInterfaceEGL::UpdateFPSDisplay(const std::string& text)
|
||||
{
|
||||
}
|
||||
void cInterfaceEGL::Swap()
|
||||
{
|
||||
eglSwapBuffers(GLWin.egl_dpy, GLWin.egl_surf);
|
||||
|
|
|
@ -18,7 +18,6 @@ public:
|
|||
void SwapInterval(int Interval);
|
||||
void Swap();
|
||||
void SetMode(u32 mode) { s_opengl_mode = mode; }
|
||||
void UpdateFPSDisplay(const std::string& text);
|
||||
void* GetFuncAddress(const std::string& name);
|
||||
bool Create(void *window_handle);
|
||||
bool MakeCurrent();
|
||||
|
|
|
@ -12,12 +12,6 @@
|
|||
typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval);
|
||||
static PFNGLXSWAPINTERVALSGIPROC glXSwapIntervalSGI = nullptr;
|
||||
|
||||
// Show the current FPS
|
||||
void cInterfaceGLX::UpdateFPSDisplay(const std::string& text)
|
||||
{
|
||||
XStoreName(GLWin.dpy, GLWin.win, text.c_str());
|
||||
}
|
||||
|
||||
void cInterfaceGLX::SwapInterval(int Interval)
|
||||
{
|
||||
if (glXSwapIntervalSGI)
|
||||
|
|
|
@ -17,7 +17,6 @@ public:
|
|||
friend class cX11Window;
|
||||
void SwapInterval(int Interval) override;
|
||||
void Swap() override;
|
||||
void UpdateFPSDisplay(const std::string& text) override;
|
||||
void* GetFuncAddress(const std::string& name) override;
|
||||
bool Create(void *window_handle);
|
||||
bool MakeCurrent() override;
|
||||
|
|
|
@ -55,12 +55,6 @@ bool cInterfaceWGL::PeekMessages()
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
// Show the current FPS
|
||||
void cInterfaceWGL::UpdateFPSDisplay(const std::string& text)
|
||||
{
|
||||
SetWindowTextA(m_window_handle, text.c_str());
|
||||
}
|
||||
|
||||
// Create rendering window.
|
||||
// Call browser: Core.cpp:EmuThread() > main.cpp:Video_Initialize()
|
||||
bool cInterfaceWGL::Create(void *window_handle)
|
||||
|
|
|
@ -12,7 +12,6 @@ class cInterfaceWGL : public cInterfaceBase
|
|||
public:
|
||||
void SwapInterval(int Interval);
|
||||
void Swap();
|
||||
void UpdateFPSDisplay(const std::string& text);
|
||||
void* GetFuncAddress(const std::string& name);
|
||||
bool Create(void *window_handle);
|
||||
bool MakeCurrent();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue