return GN_SUCCESS

This commit is contained in:
Greg Wells
2025-05-08 08:30:27 -04:00
parent 54a107623d
commit 0b81c52bd5

View File

@@ -5,6 +5,7 @@ GN_EXPORT gnReturnCode gnCreateSyncSemaphoreFn(gnSyncSemaphore* semaphore, const
semaphore->semaphore = new gnPlatformSyncSemaphore(); semaphore->semaphore = new gnPlatformSyncSemaphore();
semaphore->semaphore->semaphore = dispatch_semaphore_create(0); semaphore->semaphore->semaphore = dispatch_semaphore_create(0);
// semaphore->semaphore->semaphore = device.outputDevice->device->newFence(); // semaphore->semaphore->semaphore = device.outputDevice->device->newFence();
return GN_SUCCESS;
} }
GN_EXPORT void gnDestroySyncSemaphoreFn(const gnSyncSemaphore& semaphore) { GN_EXPORT void gnDestroySyncSemaphoreFn(const gnSyncSemaphore& semaphore) {
// semaphore.semaphore->semaphore->release(); // semaphore.semaphore->semaphore->release();