Skip to content

Commit 878108b

Browse files
author
Your Name
committed
ci
1 parent 0eff976 commit 878108b

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/build-apps.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
extra-flags:
3939
- name: Windows-sentry
4040
os: windows-2025
41-
extra-flags: -DKITSBLIPS_ENABLE_SENTRY="ON"
41+
extra-flags: -DKITSBLIPS_ENABLE_SENTRY="ON" -DKITSBLIPS_RETAIL="ON"
4242

4343
steps:
4444
- name: Set up Linux deps
@@ -55,6 +55,7 @@ jobs:
5555
- uses: ./.github/actions/cmake
5656
env:
5757
KITSBLIPS_SENTRY_DSN: ${{ secrets.KITSBLIPS_SENTRY_DSN }}
58+
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
5859
with:
5960
source: ${{github.workspace}}/daw
6061
build: ${{github.workspace}}/build

kitdsp/include/kitdsp/math/util.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <cmath>
44
#include <cstdint>
55
#include <cstring>
6+
#include <memory>
67
#include "kitdsp/macros.h"
78

89
namespace kitdsp {

kitgui/src/impl/sdl/contextImpl.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#include "kitgui/kitgui.h"
2020
#include "log.h"
2121

22-
#define LOG_SDL_ERROR_STATIC(ctx) do kitgui::log::defaultLogger(ctx, SDL_GetError())
23-
#define LOG_SDL_ERROR(ctx) kitgui::log::error(ctx, SDL_GetError())
22+
#define LOG_SDL_ERROR_STATIC(ctx) do {kitgui::log::defaultLogger(ctx, SDL_GetError())} while(0)
23+
#define LOG_SDL_ERROR(ctx) do{kitgui::log::error(ctx, SDL_GetError())} while(0)
2424

2525
// linux-specific platform details
2626
#ifdef __linux__
@@ -111,7 +111,7 @@ void checkSupportedApis_(bool& outHasX11, bool& outHasWayland) {
111111
hasWayland = true;
112112
}
113113
}
114-
kitgui::log::info(fmt::format("Checking supported video drivers. x11: {}, wayland: {}", hasX11, hasWayland));
114+
//kitgui::log::info(fmt::format("Checking supported video drivers. x11: {}, wayland: {}", hasX11, hasWayland));
115115
hasChecked = true;
116116
}
117117
outHasX11 = hasX11;
@@ -353,7 +353,7 @@ bool ContextImpl::GetSizeInPixels(uint32_t& widthOut, uint32_t& heightOut) const
353353
return success;
354354
}
355355
bool ContextImpl::SetSizeDirectly(uint32_t width, uint32_t height, bool resizable) {
356-
kitgui::log::TimeRegion r("ContextImpl::SetSizeDirectly()");
356+
kitgui::log::TimeRegion r(mContext, "ContextImpl::SetSizeDirectly()");
357357
if (!SDL_SetWindowResizable(mWindow, resizable)) {
358358
LOG_SDL_ERROR(mContext);
359359
return false;

0 commit comments

Comments
 (0)