- Timestamp:
- Dec 6, 2009, 9:46:04 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/orxonox/sound/SoundBuffer.cc
r6254 r6260 87 87 delete[] buffer; 88 88 89 if ( this->audioBuffer_ == AL_NONE)89 if (!alIsBuffer(this->audioBuffer_)) 90 90 ThrowException(General, "Sound Error: Standard file loader failed: " << alutGetErrorString(alutGetError())); 91 91 } … … 170 170 ov_clear(&vf); 171 171 172 if ( this->audioBuffer_ == AL_NONE)172 if (!alIsBuffer(this->audioBuffer_)) 173 173 ThrowException(General, "Sound: Ogg file loader failed when creating the buffer."); 174 174 }
Note: See TracChangeset
for help on using the changeset viewer.