aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.c b/src/game.c
index a68144e..233acc9 100644
--- a/src/game.c
+++ b/src/game.c
@@ -224,7 +224,7 @@ static void game_load_all_connected(Game *game) {
}
/* Create a new "game" structure */
-Game *game_new(int width, int height, int disable_vbos, int disable_fbos, int disable_shaders) {
+Game *game_new(int width, int height, int disable_vbos, int disable_fbos, int disable_shaders, int audio_debug) {
Game *g;
@@ -261,7 +261,7 @@ Game *game_new(int width, int height, int disable_vbos, int disable_fbos, int di
/* Note: render_setup() initialises GLEW, which must be done before loading models. */
/* Audio setup */
- g->audio = audio_setup();
+ g->audio = audio_setup(audio_debug);
if ( g->audio == NULL ) {
fprintf(stderr, "Couldn't initialise audio\n");
free(g);