File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,11 @@ if(portable-file-dialogs_ADDED)
178
178
target_include_directories (portable-file-dialogs INTERFACE "${portable-file-dialogs_SOURCE_DIR}" )
179
179
endif ()
180
180
181
- # set(HELLOIMGUI_USE_GLFW_METAL ON) set(HELLOIMGUI_USE_GLFW_OPENGL3 ON) set(HELLOIMGUI_USE_SDL_OPENGL3 ON)
181
+ # set(HELLOIMGUI_USE_GLFW_METAL ON)
182
+
183
+ # set(HELLOIMGUI_USE_GLFW_OPENGL3 ON)
184
+
185
+ # set(HELLOIMGUI_USE_SDL_OPENGL3 ON)
182
186
CPMAddPackage("gh:pthom/hello_imgui#8abe2c98dbf99e3a098eb5548b0a079c9f4c8a8f" )
183
187
if (hello_imgui_ADDED)
184
188
message (STATUS "hello_imgui library added" )
Original file line number Diff line number Diff line change @@ -958,7 +958,10 @@ void SampleViewer::draw_editor()
958
958
959
959
bool SampleViewer::process_event (void *e)
960
960
{
961
- #ifdef HELLOIMGUI_USE_SDL_OPENGL3
961
+ #ifdef HELLOIMGUI_USE_SDL
962
+ if (ImGui::GetIO ().WantCaptureMouse )
963
+ return false ;
964
+
962
965
static bool sPinch = false ;
963
966
SDL_Event *event = static_cast <SDL_Event *>(e);
964
967
switch (event->type )
You can’t perform that action at this time.
0 commit comments