[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/16: gnu: imgui: Use unsigned int vertex indexes.
From: |
guix-commits |
Subject: |
06/16: gnu: imgui: Use unsigned int vertex indexes. |
Date: |
Sat, 1 Apr 2023 20:09:59 -0400 (EDT) |
apteryx pushed a commit to branch staging
in repository guix.
commit 09a20d115d89c7c3ff964f41199f6f80e0631b49
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Apr 1 10:47:12 2023 -0400
gnu: imgui: Use unsigned int vertex indexes.
* gnu/packages/toolkits.scm (imgui)
[arguments]: Add the "-DImDrawIdx=unsigned int" compiler option to the build
phase.
---
gnu/packages/toolkits.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/toolkits.scm b/gnu/packages/toolkits.scm
index 3030e3aa49..82b9490e62 100644
--- a/gnu/packages/toolkits.scm
+++ b/gnu/packages/toolkits.scm
@@ -66,7 +66,12 @@
(replace 'build
(lambda* (#:key inputs #:allow-other-keys)
;; Build main library.
- (apply invoke #$(cc-for-target) "-I" (getcwd)
+ (apply invoke #$(cc-for-target)
+ ;; This option is necessary at least for OpenBoardView,
+ ;; otherwise it would fail with the "Too many vertices in
+ ;; ImDrawList using 16-bit indices".
+ "-DImDrawIdx=unsigned int"
+ "-I" (getcwd)
"-I" (search-input-directory inputs "include/freetype2")
"-g" "-O2" "-fPIC" "-shared"
"-lGL" "-lSDL2" "-lglfw"
- branch staging updated (99b25b1313 -> b8de3dee08), guix-commits, 2023/04/01
- 02/16: gnu: gnunet: Disable flaky tests., guix-commits, 2023/04/01
- 04/16: gnu: blender: Use ffmpeg 5., guix-commits, 2023/04/01
- 06/16: gnu: imgui: Use unsigned int vertex indexes.,
guix-commits <=
- 05/16: gnu: blender: Update to 3.3.5., guix-commits, 2023/04/01
- 01/16: gnu: gnunet: Fix indentation and use gexps., guix-commits, 2023/04/01
- 03/16: gnu: blender: Use gexps and remove labels., guix-commits, 2023/04/01
- 08/16: gnu: openboardview: Update to 9.95.0., guix-commits, 2023/04/01
- 13/16: gnu: Add imgui-1.87., guix-commits, 2023/04/01
- 14/16: gnu: openboardview: Use imgui-1.87., guix-commits, 2023/04/01
- 09/16: gnu: openboardview: Update home page., guix-commits, 2023/04/01
- 11/16: gnu: utf8-h: Install header under include/utf8 prefix., guix-commits, 2023/04/01
- 12/16: gnu: imgui: Use gexp output variables., guix-commits, 2023/04/01
- 16/16: gnu: gnunet: Update to 0.19.4., guix-commits, 2023/04/01