From a2feb73fa5cdd3c4b4b43338e20e482477c1eb7f Mon Sep 17 00:00:00 2001 From: Tristan de Cacqueray Date: Tue, 22 Nov 2022 19:13:18 +0000 Subject: [PATCH] Fix the glfw example build condition (#159) The example needs the opengl2 flag. --- dear-imgui.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dear-imgui.cabal b/dear-imgui.cabal index 393b0bd..f3f4c4e 100644 --- a/dear-imgui.cabal +++ b/dear-imgui.cabal @@ -329,7 +329,7 @@ executable glfw main-is: Main.hs hs-source-dirs: examples/glfw default-language: Haskell2010 - if (!flag(examples) || !flag(glfw) || !flag(opengl3)) + if (!flag(examples) || !flag(glfw) || !flag(opengl2)) buildable: False else build-depends: base, GLFW-b, gl, dear-imgui, managed, text