mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-12 06:29:13 -06:00
Now that MainNoGUI is properly architected and GLX doesn't need to sometimes craft its own windows sometimes which we have to thread back into MainNoGUI, we don't need to thread the window handle that GLX creates at all. This removes the reference to pass back here, and the g_pWindowHandle always be the same as the window returned by Host_GetRenderHandle(). A future cleanup could remove g_pWindowHandle entirely.
27 lines
497 B
C++
27 lines
497 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include "VideoCommon/VideoBackendBase.h"
|
|
|
|
namespace OGL
|
|
{
|
|
|
|
class VideoBackend : public VideoBackendHardware
|
|
{
|
|
bool Initialize(void *) override;
|
|
void Shutdown() override;
|
|
|
|
std::string GetName() const override;
|
|
std::string GetDisplayName() const override;
|
|
|
|
void Video_Prepare() override;
|
|
void Video_Cleanup() override;
|
|
|
|
void ShowConfig(void* parent) override;
|
|
|
|
void UpdateFPSDisplay(const std::string&) override;
|
|
unsigned int PeekMessages() override;
|
|
};
|
|
|
|
}
|