Browse Source

Fix a float/integer conversion warning.

Darryl Pogue 14 years ago
parent
commit
99f846cdde
  1. 3
      Sources/Plasma/PubUtilLib/plAudio/plDSoundBuffer.cpp

3
Sources/Plasma/PubUtilLib/plAudio/plDSoundBuffer.cpp

@ -761,7 +761,6 @@ void plDSoundBuffer::SetTimeOffsetSec(float seconds)
void plDSoundBuffer::SetTimeOffsetBytes(unsigned bytes) void plDSoundBuffer::SetTimeOffsetBytes(unsigned bytes)
{ {
alSourcef(source, AL_BYTE_OFFSET, bytes); alSourcei(source, AL_BYTE_OFFSET, bytes);
ALenum error = alGetError(); ALenum error = alGetError();
} }
Loading…
Cancel
Save