aboutsummaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
authortaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-06-04 17:33:44 +0000
committertaw27 <taw27@84d2e878-0bd5-11dd-ad15-13eda11d74c5>2008-06-04 17:33:44 +0000
commit997a3c23ad0175f82feb37f400762ecf08545e2c (patch)
treec4b8ea95f49ef2138972188f1cdf2ed38371d2aa /src/game.c
parentf30bb8be1f801d66590699e317fae455e35af3eb (diff)
Disable OpenGL stuff at the command line
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@71 84d2e878-0bd5-11dd-ad15-13eda11d74c5
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 1e262a9..56d6266 100644
--- a/src/game.c
+++ b/src/game.c
@@ -219,7 +219,7 @@ static void game_load_all_connected(Game *game) {
}
/* Create a new "game" structure */
-Game *game_new(int width, int height) {
+Game *game_new(int width, int height, int disable_vbos, int disable_fbos, int disable_shaders) {
Game *g;
@@ -247,7 +247,7 @@ Game *game_new(int width, int height) {
g->radiation = 0.1;
/* Renderer setup */
- g->render = render_setup(width, height);
+ g->render = render_setup(width, height, disable_vbos, disable_fbos, disable_shaders);
if ( g->render == NULL ) {
fprintf(stderr, "Couldn't initialise renderer\n");
free(g);