mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
25 lines
443 B
Objective-C
25 lines
443 B
Objective-C
// 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 "VideoBackends/OGL/GLInterfaceBase.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);
|
|
|
|
};
|