Skip to content

Commit

Permalink
Backends: WGPU: removed Emscripten version check (currently failing o…
Browse files Browse the repository at this point in the history
…n CI, ensure why, and tbh its redundant/unnecessary with changes of wgpu api nowadays)
  • Loading branch information
ocornut committed Sep 26, 2022
1 parent 83a0030 commit 7a9045d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions backends/imgui_impl_wgpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@
#include <limits.h>
#include <webgpu/webgpu.h>

#define HAS_EMSCRIPTEN_VERSION(major, minor, tiny) (__EMSCRIPTEN_major__ > (major) || (__EMSCRIPTEN_major__ == (major) && __EMSCRIPTEN_minor__ > (minor)) || (__EMSCRIPTEN_major__ == (major) && __EMSCRIPTEN_minor__ == (minor) && __EMSCRIPTEN_tiny__ >= (tiny)))

#if defined(__EMSCRIPTEN__) && !HAS_EMSCRIPTEN_VERSION(2, 0, 20)
#error "Requires at least emscripten 2.0.20"
#endif

// Dear ImGui prototypes from imgui_internal.h
extern ImGuiID ImHashData(const void* data_p, size_t data_size, ImU32 seed = 0);

Expand Down

0 comments on commit 7a9045d

Please sign in to comment.