aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2017-01-22 15:31:56 +0100
committerRay <raysan5@gmail.com>2017-01-22 15:31:56 +0100
commitf164ec80d6f1ca7afb7aec6a1e525cd67d401c14 (patch)
tree3ada899b11950e42eca457d2f8673016365ae9a8 /src
parent7586031410c7c3746025ef6c8bc6bee4b73baf1f (diff)
downloadraylib-f164ec80d6f1ca7afb7aec6a1e525cd67d401c14.tar.gz
raylib-f164ec80d6f1ca7afb7aec6a1e525cd67d401c14.zip
Upload wave collector - GGJ17 game
Diffstat (limited to 'src')
-rw-r--r--src/audio.c8
-rw-r--r--src/rlgl.h2
2 files changed, 8 insertions, 2 deletions
diff --git a/src/audio.c b/src/audio.c
index 74a54b04..3b463df3 100644
--- a/src/audio.c
+++ b/src/audio.c
@@ -839,7 +839,13 @@ void SetMusicPitch(Music music, float pitch)
{
alSourcef(music->stream.source, AL_PITCH, pitch);
}
-
+/*
+// Set music speed
+void SetMusicSpeed(Music music, float pitch)
+{
+ alSourcef(music->stream.source, AL_PITCH, 0.5f);
+}
+*/
// Get music time length (in seconds)
float GetMusicTimeLength(Music music)
{
diff --git a/src/rlgl.h b/src/rlgl.h
index b7c9df00..9cee39cc 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -97,7 +97,7 @@
// NOTE: This is the maximum amount of lines, triangles and quads per frame, be careful!
#define MAX_LINES_BATCH 8192
#define MAX_TRIANGLES_BATCH 4096
- #define MAX_QUADS_BATCH 4096
+ #define MAX_QUADS_BATCH 8192
#elif defined(GRAPHICS_API_OPENGL_ES2)
// NOTE: Reduce memory sizes for embedded systems (RPI and HTML5)
// NOTE: On HTML5 (emscripten) this is allocated on heap, by default it's only 16MB!...just take care...