dolphin/Source/Core/DolphinWX/Src/GLInterface/WGL.h

32 lines
567 B
C
Raw Normal View History

// Copyright 2013 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.
2012-12-17 21:01:52 +00:00
#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);
2012-12-26 06:34:09 +00:00
void Swap();
2012-12-17 21:01:52 +00:00
void UpdateFPSDisplay(const char *Text);
bool Create(void *&window_handle);
2012-12-17 21:01:52 +00:00
bool MakeCurrent();
bool ClearCurrent();
2012-12-17 21:01:52 +00:00
void Shutdown();
void Update();
bool PeekMessages();
};
#endif