Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
Gauthier Quesnel
irritator
Commits
ec11c201
Commit
ec11c201
authored
Jun 09, 2021
by
Gauthier Quesnel
Browse files
gui: fix unix program imnodes header
parent
24332ae3
Pipeline
#34687
passed with stage
in 1 minute and 17 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/gui/main-unix.cpp
View file @
ec11c201
...
...
@@ -3,12 +3,11 @@
// http://www.boost.org/LICENSE_1_0.txt)
#include
"application.hpp"
#include
"imnodes.h
pp
"
#include
"imnodes.h"
#include
"imgui.h"
#include
"imgui_impl_glfw.h"
#include
"imgui_impl_opengl3.h"
#include
"imnodes.hpp"
#include
<cstdio>
#include
<cstring>
...
...
@@ -118,11 +117,11 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
// Setup Platform/Renderer bindings
ImGui_ImplGlfw_InitForOpenGL
(
window
,
true
);
ImGui_ImplOpenGL3_Init
(
glsl_version
);
imn
odes
::
CreateContext
();
ImN
odes
::
CreateContext
();
irt
::
application
app
;
if
(
!
app
.
init
())
{
imn
odes
::
DestroyContext
();
ImN
odes
::
DestroyContext
();
ImGui_ImplOpenGL3_Shutdown
();
ImGui_ImplGlfw_Shutdown
();
...
...
@@ -202,7 +201,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
// Cleanup
app
.
shutdown
();
imn
odes
::
DestroyContext
();
ImN
odes
::
DestroyContext
();
ImGui_ImplOpenGL3_Shutdown
();
ImGui_ImplGlfw_Shutdown
();
...
...
app/gui/main-windows.cpp
View file @
ec11c201
...
...
@@ -10,7 +10,7 @@
// replicated in your app or by adding it to your imconfig.h file.
#include
"application.hpp"
#include
"
ImN
odes.h"
#include
"
imn
odes.h"
#include
"imgui.h"
#include
"imgui_impl_dx12.h"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment