forked from Green-Sky/tomato
asan in flake
This commit is contained in:
parent
565aa4b7eb
commit
18ca88a0d4
@ -55,12 +55,19 @@
|
|||||||
libsodium
|
libsodium
|
||||||
] ++ self.packages.${system}.default.dlopenBuildInputs;
|
] ++ self.packages.${system}.default.dlopenBuildInputs;
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"TOMATO_ASAN=1"
|
||||||
|
"CMAKE_BUILD_TYPE=RelWithDebInfo"
|
||||||
|
];
|
||||||
|
|
||||||
# TODO: replace with install command
|
# TODO: replace with install command
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
mv bin/tomato $out/bin
|
mv bin/tomato $out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
# copied from nixpkgs's SDL2 default.nix
|
# copied from nixpkgs's SDL2 default.nix
|
||||||
# SDL is weird in that instead of just dynamically linking with
|
# SDL is weird in that instead of just dynamically linking with
|
||||||
# libraries when you `--enable-*` (or when `configure` finds) them
|
# libraries when you `--enable-*` (or when `configure` finds) them
|
||||||
|
@ -520,6 +520,7 @@ void ChatGui4::render(float time_delta) {
|
|||||||
//} else if (ImGui::IsItemClicked(ImGuiMouseButton_Right)) {
|
//} else if (ImGui::IsItemClicked(ImGuiMouseButton_Right)) {
|
||||||
} else if (ImGui::BeginPopupContextItem(nullptr, ImGuiMouseButton_Right)) {
|
} else if (ImGui::BeginPopupContextItem(nullptr, ImGuiMouseButton_Right)) {
|
||||||
const static std::vector<const char*> image_mime_types {
|
const static std::vector<const char*> image_mime_types {
|
||||||
|
// add apng?
|
||||||
"image/png",
|
"image/png",
|
||||||
"image/webp",
|
"image/webp",
|
||||||
"image/gif",
|
"image/gif",
|
||||||
|
Loading…
Reference in New Issue
Block a user