metal: hook up the backbuffer

This commit is contained in:
Alex Szpakowski
2020-04-23 18:38:29 -03:00
parent acc4064a6c
commit 99b39065b6
7 changed files with 89 additions and 23 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ public:
data = (uint8 *) buffer.contents;
for (int i = 0; i < BUFFER_FRAMES; i++)
frameSemaphores[i] = dispatch_semaphore_create(0);
frameSemaphores[i] = dispatch_semaphore_create(1);
}}
virtual ~StreamBuffer()