mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-08 07:09:18 -05:00
Compare commits
4 Commits
e7c043529c
...
e00c5eb8b1
| Author | SHA1 | Date | |
|---|---|---|---|
| e00c5eb8b1 | |||
| cbea2ff502 | |||
| 3320a2c837 | |||
| 901afadbf1 |
@ -1871,6 +1871,7 @@ void SeekMusicStream(Music music, float position)
|
|||||||
void UpdateMusicStream(Music music)
|
void UpdateMusicStream(Music music)
|
||||||
{
|
{
|
||||||
if (music.stream.buffer == NULL) return;
|
if (music.stream.buffer == NULL) return;
|
||||||
|
if (!music.stream.buffer->playing) return;
|
||||||
|
|
||||||
ma_mutex_lock(&AUDIO.System.lock);
|
ma_mutex_lock(&AUDIO.System.lock);
|
||||||
|
|
||||||
|
|||||||
12
src/rlgl.h
12
src/rlgl.h
@ -1885,7 +1885,7 @@ void rlActiveDrawBuffers(int count)
|
|||||||
|
|
||||||
if (count > 0)
|
if (count > 0)
|
||||||
{
|
{
|
||||||
if (count > 8) TRACELOG(LOG_WARNING, "GL: Max color buffers limited to 8");
|
if (count > 8) TRACELOG(RL_LOG_WARNING, "GL: Max color buffers limited to 8");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
unsigned int buffers[8] = {
|
unsigned int buffers[8] = {
|
||||||
@ -1902,7 +1902,7 @@ void rlActiveDrawBuffers(int count)
|
|||||||
glDrawBuffers(count, buffers);
|
glDrawBuffers(count, buffers);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else TRACELOG(LOG_WARNING, "GL: One color buffer active by default");
|
else TRACELOG(RL_LOG_WARNING, "GL: One color buffer active by default");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2219,10 +2219,10 @@ static void GLAPIENTRY rlDebugMessageCallback(GLenum source, GLenum type, GLuint
|
|||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
TRACELOG(LOG_WARNING, "GL: OpenGL debug message: %s", message);
|
TRACELOG(RL_LOG_WARNING, "GL: OpenGL debug message: %s", message);
|
||||||
TRACELOG(LOG_WARNING, " > Type: %s", msgType);
|
TRACELOG(RL_LOG_WARNING, " > Type: %s", msgType);
|
||||||
TRACELOG(LOG_WARNING, " > Source = %s", msgSource);
|
TRACELOG(RL_LOG_WARNING, " > Source = %s", msgSource);
|
||||||
TRACELOG(LOG_WARNING, " > Severity = %s", msgSeverity);
|
TRACELOG(RL_LOG_WARNING, " > Severity = %s", msgSeverity);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user