Skip to content

Commit

Permalink
update hello_imgui (if IMGUI_BUNDLE_BUILD_PYODIDE: do not warn on kno…
Browse files Browse the repository at this point in the history
…wn OpenGL errors)
  • Loading branch information
pthom committed Nov 23, 2024
1 parent 759e4ab commit 4fb0ff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion external/hello_imgui/hello_imgui
1 change: 1 addition & 0 deletions imgui_bundle_cmake/imgui_bundle_pyodide.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function(_ibd_pyodide_set_build_options)
if (NOT IMGUI_BUNDLE_BUILD_PYODIDE)
message(FATAL_ERROR "ibd_pyodide_set_build_options: IMGUI_BUNDLE_BUILD_PYODIDE is not set")
endif()
add_compile_definitions(IMGUI_BUNDLE_BUILD_PYODIDE)

# No native demos for pyodide
set(IMGUI_BUNDLE_BUILD_DEMOS OFF CACHE BOOL "" FORCE)
Expand Down

0 comments on commit 4fb0ff2

Please sign in to comment.