Skip to content

Commit

Permalink
SDL_shape_internals.h: forward-declare struct SDL_ShapeTree.
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Oct 25, 2020
1 parent a404029 commit f0c5841
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/video/SDL_shape_internals.h
Expand Up @@ -35,6 +35,8 @@ extern "C" {
/* *INDENT-ON* */
#endif

struct SDL_ShapeTree;

typedef struct {
struct SDL_ShapeTree *upleft,*upright,*downleft,*downright;
} SDL_QuadTreeChildren;
Expand All @@ -46,7 +48,7 @@ typedef union {

typedef enum { QuadShape,TransparentShape,OpaqueShape } SDL_ShapeKind;

typedef struct {
typedef struct SDL_ShapeTree {
SDL_ShapeKind kind;
SDL_ShapeUnion data;
} SDL_ShapeTree;
Expand Down

0 comments on commit f0c5841

Please sign in to comment.