mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
32 lines
567 B
C++
32 lines
567 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);
|
|
bool Create(void *&window_handle);
|
|
bool MakeCurrent();
|
|
bool ClearCurrent();
|
|
void Shutdown();
|
|
|
|
void Update();
|
|
bool PeekMessages();
|
|
};
|
|
#endif
|
|
|