Skip to content

Commit 274bd75

Browse files
committed
trying to fix workflow
1 parent e812ed1 commit 274bd75

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci-mac.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ jobs:
3434
name: "macOS 14 universal",
3535
os: macos-14,
3636
arch: "universal",
37-
flags: '-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_IGNORE_PATH="/opt/homebrew/Cellar/harfbuzz/10.2.0/include/;/opt/homebrew/Cellar/harfbuzz/10.2.0/lib/;/opt/homebrew/Cellar/brotli/1.1.0/include;/opt/homebrew/Cellar/brotli/1.1.0/lib/;/opt/homebrew/lib;/opt/homebrew/include;/opt/homebrew/Cellar" -DHDRVIEW_ENABLE_UHDR=OFF -DHELLOIMGUI_FREETYPE_STATIC=ON',
37+
flags: '-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_IGNORE_PATH="/opt/homebrew/Cellar/harfbuzz/10.4.0/include/;/opt/homebrew/Cellar/harfbuzz/10.4.0/lib/;/opt/homebrew/Cellar/brotli/1.1.0/include;/opt/homebrew/Cellar/brotli/1.1.0/lib/;/opt/homebrew/lib;/opt/homebrew/include;/opt/homebrew/Cellar" -DHDRVIEW_ENABLE_UHDR=OFF -DHELLOIMGUI_FREETYPE_STATIC=ON',
3838
}
3939
- {
4040
name: "macOS 13 universal",
4141
os: macos-13,
4242
arch: "universal",
43-
flags: '-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_IGNORE_PATH="/usr/local/Cellar/harfbuzz/10.3.0/lib/;/usr/local/Cellar/harfbuzz/10.3.0/;/usr/local/Cellar/brotli/1.1.0/include;/usr/local/Cellar/brotli/1.1.0/lib/;/usr/local/lib/;/usr/local/Cellar/" -DHDRVIEW_ENABLE_UHDR=OFF -DHELLOIMGUI_FREETYPE_STATIC=ON',
43+
flags: '-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_IGNORE_PATH="/usr/local/Cellar/harfbuzz/10.4.0/lib/;/usr/local/Cellar/harfbuzz/10.4.0/;/usr/local/Cellar/brotli/1.1.0/include;/usr/local/Cellar/brotli/1.1.0/lib/;/usr/local/lib/;/usr/local/Cellar/" -DHDRVIEW_ENABLE_UHDR=OFF -DHELLOIMGUI_FREETYPE_STATIC=ON',
4444
}
4545
- {
4646
name: "macOS 14 Apple Silicon",

src/app.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,6 @@ void HDRViewApp::export_as(const string &filename) const
13801380
{
13811381
Image img(current_image()->size(), 4);
13821382
img.finalize();
1383-
int2 p;
13841383
auto bounds = current_image()->data_window;
13851384
int block_size = std::max(1, 1024 * 1024 / img.size().x);
13861385
parallel_for(blocked_range<int>(0, img.size().y, block_size),

0 commit comments

Comments
 (0)