Don't use a bitfield for this.
It pads out to an int anyhow, but causes code bloat as the compiler tries to mask and shift for that specific bit.
This commit is contained in:
parent
4b70200bf8
commit
a5d345e374
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue