diff --git a/include/SFML/Graphics/Drawable.hpp b/include/SFML/Graphics/Drawable.hpp index c1e931d7e..19116b2cf 100644 --- a/include/SFML/Graphics/Drawable.hpp +++ b/include/SFML/Graphics/Drawable.hpp @@ -33,7 +33,7 @@ namespace sf { class RenderTarget; -class RenderStates; +struct RenderStates; //////////////////////////////////////////////////////////// /// \brief Abstract base class for objects that can be drawn diff --git a/include/SFML/Graphics/RenderStates.hpp b/include/SFML/Graphics/RenderStates.hpp index 775512355..7f58bbeb4 100644 --- a/include/SFML/Graphics/RenderStates.hpp +++ b/include/SFML/Graphics/RenderStates.hpp @@ -42,9 +42,8 @@ class Texture; /// \brief Define the states used for drawing to a RenderTarget /// //////////////////////////////////////////////////////////// -class SFML_GRAPHICS_API RenderStates +struct SFML_GRAPHICS_API RenderStates { -public: //////////////////////////////////////////////////////////// /// \brief Default constructor ///