X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbitmask.h;h=915b21c5942934cad367b411183d1a31b266e187;hb=4eab056837b0f26d0163a7ab2d0cc1addedcb0af;hp=cc2b9a4304ff6847b9a3708762df001b5b4bfe1f;hpb=cf865a9388d9dce0422510c5369a2471191d1299;p=supertux.git diff --git a/src/bitmask.h b/src/bitmask.h index cc2b9a430..915b21c59 100644 --- a/src/bitmask.h +++ b/src/bitmask.h @@ -84,11 +84,11 @@ #define BITW_MASK 31 #define BITN(n) ((BITW)1 << (n)) -typedef struct bitmask +struct bitmask { int w,h; BITW *bits; -} bitmask; +}; /* Creates a bitmask of width w and height h. * The mask is automatically cleared when created.