summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/GLInterface/AGL.h
blob: 8f75df51cd8736212a800572586aaf41c9bcc49a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2014 Dolphin Emulator Project
// Licensed under GPLv2
// Refer to the license.txt file included.

#pragma once

#ifdef __APPLE__
#import <AppKit/AppKit.h>
#endif

#include "DolphinWX/GLInterface/InterfaceBase.h"

class cInterfaceAGL : public cInterfaceBase
{
public:
	void Swap();
	bool Create(void *&window_handle);
	bool MakeCurrent();
	bool ClearCurrent();
	void Shutdown();
	void Update();
	void SwapInterval(int interval);

};