1// LAF OS Library
2// Copyright (C) 2022 Igara Studio S.A.
3// Copyright (C) 2015-2016 David Capello
4//
5// This file is released under the terms of the MIT license.
6// Read LICENSE.txt for more information.
7
8#ifndef OS_GL_CONTEXT_INCLUDED
9#define OS_GL_CONTEXT_INCLUDED
10#pragma once
11
12namespace os {
13
14class GLContext {
15public:
16 virtual ~GLContext() { }
17 virtual bool isValid() { return false; }
18 virtual bool createGLContext() { return false; }
19 virtual void destroyGLContext() { }
20 virtual void makeCurrent() { }
21 virtual void swapBuffers() { }
22};
23
24} // namespace os
25
26#endif
27