Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Don't use a bitfield for this.
Browse files Browse the repository at this point in the history
It pads out to an int anyhow, but causes code bloat as the compiler tries to
 mask and shift for that specific bit.
  • Loading branch information
icculus committed Jul 22, 2011
1 parent 0a1354a commit c780858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audio/SDL_sysaudio.h
Expand Up @@ -120,7 +120,7 @@ typedef struct AudioBootStrap
const char *name;
const char *desc;
int (*init) (SDL_AudioDriverImpl * impl);
int demand_only:1; /* 1==request explicitly, or it won't be available. */
int demand_only; /* 1==request explicitly, or it won't be available. */
} AudioBootStrap;

#endif /* _SDL_sysaudio_h */
Expand Down

0 comments on commit c780858

Please sign in to comment.