now compiles in release mode

This commit is contained in:
Matthew 2025-09-29 18:58:20 +10:00
parent 6484ba3e81
commit bfa5cee407
4 changed files with 5 additions and 5 deletions

View File

@ -13,10 +13,10 @@
"sourcePaths": ["src/editor", "src/dlib", "src/dlib/external/xxhash", "src/VulkanRenderer"], "sourcePaths": ["src/editor", "src/dlib", "src/dlib/external/xxhash", "src/VulkanRenderer"],
"libs-linux": ["xcb", "X11", "X11-xcb", "vulkan", "stdc++", "xcb-xfixes", "freetype"], "libs-linux": ["xcb", "X11", "X11-xcb", "vulkan", "stdc++", "xcb-xfixes", "freetype"],
"libs-windows": [], "libs-windows": [],
"versions": ["VULKAN_DEBUG"], "versions": [],
"preGenerateCommands-linux": ["./build.sh"], "preGenerateCommands-linux": ["./build.sh"],
"preGenerateCommands-windows": [], "preGenerateCommands-windows": [],
"dflags": ["-Xcc=-mno-sse", "-P-I/usr/include/freetype2", "-Jbuild", "-Jassets", "-g"], "dflags": ["-Xcc=-mno-sse", "-P-I/usr/include/freetype2", "-Jbuild", "-Jassets"],
"dflags-dmd": ["-P=-DSTBI_NO_SIMD"] "dflags-dmd": ["-P=-DSTBI_NO_SIMD"]
}, },
] ]

@ -1 +1 @@
Subproject commit fa33e37c002b4ef98ab9d4d88f551c440be4436f Subproject commit 0be80e3a3ec2acfc51f6591803bbe3f889389d22

@ -1 +1 @@
Subproject commit 6e1952eab0ee2eed5c105311df56e603857798c2 Subproject commit ca5e84f8b9c6f96abe8151e655ebd3f923ced598

View File

@ -365,7 +365,7 @@ InitUICtx(PlatformWindow* window)
alpha_op: BO.Add, alpha_op: BO.Add,
}; };
assert(CreateGraphicsPipeline(&ctx.rd, &ctx.pipeline, &ui_info), "Unable to build UI pipeline"); CreateGraphicsPipeline(&ctx.rd, &ctx.pipeline, &ui_info);
CreateImageView(&ctx.rd, &ctx.font_atlas, ctx.atlas_buf.atlas.width, ctx.atlas_buf.atlas.height, 4, ctx.atlas_buf.data); CreateImageView(&ctx.rd, &ctx.font_atlas, ctx.atlas_buf.atlas.width, ctx.atlas_buf.atlas.height, 4, ctx.atlas_buf.data);