mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
27 lines
617 B
C++
27 lines
617 B
C++
// Copyright 2008 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include "Common/GL/GLInterfaceBase.h"
|
|
|
|
class cInterfaceWGL : public cInterfaceBase
|
|
{
|
|
public:
|
|
void SwapInterval(int interval) override;
|
|
void Swap() override;
|
|
void* GetFuncAddress(const std::string& name) override;
|
|
bool Create(void* window_handle, bool core) override;
|
|
bool MakeCurrent() override;
|
|
bool ClearCurrent() override;
|
|
void Shutdown() override;
|
|
|
|
void Update() override;
|
|
bool PeekMessages() override;
|
|
|
|
private:
|
|
HWND m_window_handle = nullptr;
|
|
};
|