Basic sync primitives
This commit is contained in:
1 parent
d7b228d856
commit
2a7643ddf3
10 files changed
+182
-127
No files matched your search
@@ -1,8 +1,8 @@
|
||||
#include "Window.h"
|
||||
#include "Foundation/NSSharedPtr.hpp"
|
||||
#include "Graphics/Initializer.h"
|
||||
#include "Graphics/Metal/Enums.h"
|
||||
#include "Graphics/Texture.h"
|
||||
#include "Command.h"
|
||||
#include "Metal/MTLTexture.hpp"
|
||||
using namespace Seele;
|
||||
using namespace Seele::Metal;
|
||||
@@ -117,6 +117,7 @@ void Window::beginFrame()
|
||||
|
||||
void Window::endFrame()
|
||||
{
|
||||
graphics->getQueue()->getCommands()->present(drawable);
|
||||
}
|
||||
|
||||
void Window::onWindowCloseEvent()
|
||||
|
||||
Reference in new issue
Block a user