mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 16:49:12 +01:00
71681de81a
Conflicts: CMakeLists.txt Externals/GLew/glew.vcxproj Externals/GLew/glew.vcxproj.filters Source/Core/VideoBackends/OGL/CMakeLists.txt Source/Core/VideoBackends/OGL/GLFunctions.cpp Source/Core/VideoBackends/OGL/GLFunctions.h Source/Core/VideoBackends/OGL/GLUtil.h Source/Core/VideoBackends/OGL/Render.cpp Source/VSProps/Base.props
33 lines
607 B
C++
33 lines
607 B
C++
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#ifndef _INTERFACEWGL_H_
|
|
#define _INTERFACEWGL_H_
|
|
|
|
#ifdef _WIN32
|
|
#define GLEW_STATIC
|
|
#include <GL/glew.h>
|
|
#include <GL/wglew.h>
|
|
#endif
|
|
|
|
#include "InterfaceBase.h"
|
|
|
|
class cInterfaceWGL : public cInterfaceBase
|
|
{
|
|
public:
|
|
void SwapInterval(int Interval);
|
|
void Swap();
|
|
void UpdateFPSDisplay(const char *Text);
|
|
void* GetProcAddress(std::string name);
|
|
bool Create(void *&window_handle);
|
|
bool MakeCurrent();
|
|
bool ClearCurrent();
|
|
void Shutdown();
|
|
|
|
void Update();
|
|
bool PeekMessages();
|
|
};
|
|
#endif
|
|
|