# HG changeset patch # User sam # Date 1723182398 -25200 # Node ID b22c3b7bc02674a052c5aeae3ca0852987fd4db8 # Parent 3f79b3efca95d4915815a2509f2b10be6d90de49 fix: release build error diff -r 3f79b3efca95 -r b22c3b7bc026 semicongine/rendering.nim --- a/semicongine/rendering.nim Fri Aug 09 07:18:24 2024 +0700 +++ b/semicongine/rendering.nim Fri Aug 09 12:46:38 2024 +0700 @@ -231,7 +231,7 @@ putEnv("VK_LAYER_ENABLES", "VALIDATION_CHECK_ENABLE_VENDOR_SPECIFIC_AMD,VALIDATION_CHECK_ENABLE_VENDOR_SPECIFIC_NVIDIA,VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXTVK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT,VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT") else: let requiredExtensions = REQUIRED_PLATFORM_EXTENSIONS & @["VK_KHR_surface"] - let layers: seq[string] + let layers: seq[string] = @[] var layersC = allocCStringArray(layers)