mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 20:19:06 +08:00
14 lines
668 B
Diff
14 lines
668 B
Diff
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 @@
|
|
|
|
#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( \
|