vcpkg/ports/imgui-sfml/0003-fix_osx.patch

14 lines
668 B
Diff
Raw Normal View History

diff --git a/imconfig-SFML.h b/imconfig-SFML.h
index 0f43ce6..1fce2c1 100644
--- a/imconfig-SFML.h
+++ b/imconfig-SFML.h
@@ -19,7 +19,7 @@
2019-09-11 04:52:21 +08:00
#define IM_VEC4_CLASS_EXTRA \
ImVec4(const sf::Color & c) \
- : ImVec4(c.r / 255.f, c.g / 255.f, c.b / 255.f, c.a / 255.f) { \
+ : x(c.r / 255.f), y(c.g / 255.f), z(c.b / 255.f), w(c.a / 255.f) { \
} \
operator sf::Color() const { \
return sf::Color( \