Split IWindow a bit

This commit is contained in:
2020-10-24 23:02:01 +02:00
parent 30dd4f255c
commit ae76fa59e9
8 changed files with 55 additions and 32 deletions

View File

@@ -0,0 +1,21 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#pragma once
#include "IWindow.hpp"
namespace openVulkanoCpp
{
class IOpenGlWindow : virtual public IWindow
{
public:
~IOpenGlWindow() override = default;
virtual void MakeCurrentThread() = 0;
virtual void Present() const = 0;
};
}