diff options
Diffstat (limited to 'cube')
| -rw-r--r-- | cube/cube.c | 6 | ||||
| -rw-r--r-- | cube/cube.cpp | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/cube/cube.c b/cube/cube.c index 1b7b3227..7398a2c1 100644 --- a/cube/cube.c +++ b/cube/cube.c @@ -3704,12 +3704,6 @@ static void demo_init(struct demo *demo, int argc, char **argv) { demo->presentMode = VK_PRESENT_MODE_FIFO_KHR; demo->frameCount = INT32_MAX; -#if defined(VK_USE_PLATFORM_MACOS_MVK) - // MoltenVK may not allow host coherent mapping to linear tiled images - // Force the use of a staging buffer to be safe - demo->use_staging_buffer = true; -#endif - for (int i = 1; i < argc; i++) { if (strcmp(argv[i], "--use_staging") == 0) { demo->use_staging_buffer = true; diff --git a/cube/cube.cpp b/cube/cube.cpp index 48c1f728..87b24f9f 100644 --- a/cube/cube.cpp +++ b/cube/cube.cpp @@ -909,12 +909,6 @@ void Demo::init(int argc, char **argv) { frameCount = UINT32_MAX; use_xlib = false; -#if defined(VK_USE_PLATFORM_MACOS_MVK) - // MoltenVK may not allow host coherent mapping to linear tiled images - // Force the use of a staging buffer to be safe - use_staging_buffer = true; -#endif - for (int i = 1; i < argc; i++) { if (strcmp(argv[i], "--use_staging") == 0) { use_staging_buffer = true; |
