Martin Fouilleul
|
42738195b5
|
Don't assume oc_scratch() is cleared at the frame boundary. Use oc_scratch_begin()/oc_scratch_end() instead
|
2023-08-23 16:24:13 +02:00 |
Martin Fouilleul
|
98f131cb30
|
Fix leak in metal surface: command buffer must not be committed if there is no surface to present it to, or it will result in a huge leak in metal resources. Also wrap oc_mtl_surface_acquire_command_buffer() in an @autoreleasepool to fix a smaller leak
|
2023-08-23 15:09:06 +02:00 |
Martin Fouilleul
|
86b1121fbe
|
allow enabling/disabling metal frame capture when bundling a macos app
|
2023-08-23 15:06:35 +02:00 |