mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Use struct
for data type with exclusively public contents
This commit is contained in:
parent
5dfa3f7858
commit
b234ede61e
@ -33,7 +33,7 @@
|
||||
namespace sf
|
||||
{
|
||||
class RenderTarget;
|
||||
class RenderStates;
|
||||
struct RenderStates;
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Abstract base class for objects that can be drawn
|
||||
|
@ -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
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user