Browse Source

Audio: missing inline.

Caused static build to fail on multiple definitons.
pull/34/head
Vladimír Vondruš 13 years ago
parent
commit
3098ad2650
  1. 2
      src/Audio/Source.h

2
src/Audio/Source.h

@ -560,7 +560,7 @@ inline Source& Source::operator=(Source&& other) {
return *this;
}
auto Source::state() const -> State {
inline auto Source::state() const -> State {
ALint state;
alGetSourcei(_id, AL_SOURCE_STATE, &state);
return State(state);

Loading…
Cancel
Save