some fixes towards getting it to compile in release mode
This commit is contained in:
parent
c7b4fc463a
commit
6484ba3e81
Binary file not shown.
Binary file not shown.
2
build.sh
2
build.sh
@ -4,7 +4,7 @@ set -eu
|
||||
# SHADERS
|
||||
|
||||
shader_compiler="glslc"
|
||||
shader_flags="--target-spv=spv1.5 -std=460 --target-env=vulkan1.2"
|
||||
shader_flags="-std=460 -O --target-env=vulkan1.2"
|
||||
shader_out="-oassets/"
|
||||
|
||||
mkdir -p build
|
||||
|
||||
4
dub.json
4
dub.json
@ -13,10 +13,10 @@
|
||||
"sourcePaths": ["src/editor", "src/dlib", "src/dlib/external/xxhash", "src/VulkanRenderer"],
|
||||
"libs-linux": ["xcb", "X11", "X11-xcb", "vulkan", "stdc++", "xcb-xfixes", "freetype"],
|
||||
"libs-windows": [],
|
||||
"versions": [],
|
||||
"versions": ["VULKAN_DEBUG"],
|
||||
"preGenerateCommands-linux": ["./build.sh"],
|
||||
"preGenerateCommands-windows": [],
|
||||
"dflags": ["-Xcc=-mno-sse", "-P-I/usr/include/freetype2", "-Jbuild", "-Jassets"],
|
||||
"dflags": ["-Xcc=-mno-sse", "-P-I/usr/include/freetype2", "-Jbuild", "-Jassets", "-g"],
|
||||
"dflags-dmd": ["-P=-DSTBI_NO_SIMD"]
|
||||
},
|
||||
]
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 7a77505fc100da21a5bf804e415be8eb1f36ba19
|
||||
Subproject commit fa33e37c002b4ef98ab9d4d88f551c440be4436f
|
||||
@ -285,10 +285,13 @@ AddEditor(EditorCtx* ctx, UIPanel* target, Axis2D axis)
|
||||
|
||||
SetFocusedPanel(second);
|
||||
|
||||
panels[panel_count+0] = first;
|
||||
panels[panel_count+1] = second;
|
||||
debug
|
||||
{
|
||||
panels[panel_count+0] = first;
|
||||
panels[panel_count+1] = second;
|
||||
|
||||
panel_count += 2;
|
||||
panel_count += 2;
|
||||
}
|
||||
}
|
||||
else if(target.parent.axis == axis)
|
||||
{
|
||||
@ -316,7 +319,7 @@ AddEditor(EditorCtx* ctx, UIPanel* target, Axis2D axis)
|
||||
}
|
||||
}
|
||||
|
||||
for(u64 i = 0; i < panel_count; i += 1)
|
||||
debug for(u64 i = 0; i < panel_count; i += 1)
|
||||
{
|
||||
bool root_found = false;
|
||||
for(UIPanel* p = panels[i]; !Nil(p); p = p.parent)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user