mirror of https://github.com/bjornbytes/lovr.git
oops
This commit is contained in:
parent
eee1d09cc4
commit
213c721d1f
|
@ -14,7 +14,7 @@ static int l_lovrSoundDataAppend(lua_State* L) {
|
|||
Blob* blob = luax_totype(L, 2, Blob);
|
||||
SoundData* sound = luax_totype(L, 2, SoundData);
|
||||
lovrAssert(blob || sound, "Invalid blob appended");
|
||||
size_t appendedSamples = false;
|
||||
size_t appendedSamples = 0;
|
||||
if (sound) {
|
||||
appendedSamples = lovrSoundDataStreamAppendSound(soundData, sound);
|
||||
} else if (blob) {
|
||||
|
|
Loading…
Reference in New Issue