this should work

This commit is contained in:
Joshua Reisenauer 2016-04-27 00:02:11 -07:00
parent 299ae7a4bd
commit f707c1ca46
2 changed files with 4 additions and 3 deletions

View file

@ -820,7 +820,7 @@ void UpdateMusicStream(void)
// Add refilled buffer to queue again... don't let the music stop! // Add refilled buffer to queue again... don't let the music stop!
alSourceQueueBuffers(currentMusic.source, 1, &buffer); alSourceQueueBuffers(currentMusic.source, 1, &buffer);
if (alGetError() != AL_NO_ERROR) TraceLog(WARNING, "Ogg playing, error buffering data..."); if (alGetError() != AL_NO_ERROR) TraceLog(WARNING, "Error buffering data...");
processed--; processed--;
} }

View file

@ -261,8 +261,9 @@
//---------------------------------------------------------------------------------- //----------------------------------------------------------------------------------
#ifndef __cplusplus #ifndef __cplusplus
// Boolean type // Boolean type
#include <stdbool.h> #ifndef true
//typedef enum { false, true } bool; typedef enum { false, true } bool;
#endif
#endif #endif
// byte type // byte type