From 7cdb3850e74961ee58a596fda02355fcc47420b4 Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 26 Apr 2021 10:18:18 +0200 Subject: [PATCH] CI: test with ImTextureID as pointer to catch accidental reuse of const (#4060) --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 100a630e8..410d5487b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -254,10 +254,11 @@ jobs: EOF g++ -I. -Wall -Wformat -o example_single_file example_single_file.cpp - - name: Build example_null (with large ImDrawIdx) + - name: Build example_null (with large ImDrawIdx + pointer ImTextureID) run: | cat > example_single_file.cpp <<'EOF' + #define ImTextureID void* #define ImDrawIdx unsigned int #define IMGUI_IMPLEMENTATION #include "misc/single_file/imgui_single_file.h"