mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
GLContext: Use destructor instead of Shutdown() to cleanup
Also uses the Initialize() method to make the context current.
This commit is contained in:
@ -14,13 +14,14 @@ struct NSView;
|
||||
|
||||
#include "Common/GL/GLContext.h"
|
||||
|
||||
class GLContextAGL : public GLContext
|
||||
class GLContextAGL final : public GLContext
|
||||
{
|
||||
public:
|
||||
~GLContextAGL() override;
|
||||
|
||||
bool IsHeadless() const override;
|
||||
|
||||
std::unique_ptr<GLContext> CreateSharedContext() override;
|
||||
void Shutdown() override;
|
||||
|
||||
bool MakeCurrent() override;
|
||||
bool ClearCurrent() override;
|
||||
|
Reference in New Issue
Block a user