aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoshua Reisenauer <kd7tck@msn.com>2016-04-27 00:02:11 -0700
committerJoshua Reisenauer <kd7tck@msn.com>2016-04-27 00:02:11 -0700
commitf707c1ca468ef3243808ec87a0b6a891f6c6a130 (patch)
treecf40be36d521e58d1e2705ba4ca29ef24adbdebc /src
parent299ae7a4bdcddc31281b1e2d0cd2df476755fb79 (diff)
downloadraylib-f707c1ca468ef3243808ec87a0b6a891f6c6a130.tar.gz
raylib-f707c1ca468ef3243808ec87a0b6a891f6c6a130.zip
this should work
Diffstat (limited to 'src')
-rw-r--r--src/audio.c2
-rw-r--r--src/raylib.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/audio.c b/src/audio.c
index 2b8c6d48..0be257d9 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -820,7 +820,7 @@ void UpdateMusicStream(void)
// Add refilled buffer to queue again... don't let the music stop!
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--;
}
diff --git a/src/raylib.h b/src/raylib.h
index de157087..699fbbdb 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -261,8 +261,9 @@
//----------------------------------------------------------------------------------
#ifndef __cplusplus
// Boolean type
-#include <stdbool.h>
-//typedef enum { false, true } bool;
+ #ifndef true
+ typedef enum { false, true } bool;
+ #endif
#endif
// byte type