mirror of
https://github.com/Drezil/dear-imgui.hs.git
synced 2024-11-22 16:57:00 +00:00
Fix the glfw example build condition (#159)
The example needs the opengl2 flag.
This commit is contained in:
parent
051a17a1c5
commit
a2feb73fa5
@ -329,7 +329,7 @@ executable glfw
|
|||||||
main-is: Main.hs
|
main-is: Main.hs
|
||||||
hs-source-dirs: examples/glfw
|
hs-source-dirs: examples/glfw
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
if (!flag(examples) || !flag(glfw) || !flag(opengl3))
|
if (!flag(examples) || !flag(glfw) || !flag(opengl2))
|
||||||
buildable: False
|
buildable: False
|
||||||
else
|
else
|
||||||
build-depends: base, GLFW-b, gl, dear-imgui, managed, text
|
build-depends: base, GLFW-b, gl, dear-imgui, managed, text
|
||||||
|
Loading…
Reference in New Issue
Block a user