diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-17 15:27:18 +0100 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-17 15:27:18 +0100 |
commit | 1e6d1ab6fc85ff928c629627991a60f515b73857 (patch) | |
tree | c117022e1dc5fbb910e29e354ec239f0f11a148c /src/mesa | |
parent | 305b83a4153442e53f54cd5b817238c95161f7db (diff) |
tell vbo module to use bufferobjs
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 35a262ab5b..9e89ece52e 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -25,7 +25,8 @@ * **************************************************************************/ -#include "imports.h" +#include "main/imports.h" +#include "vbo/vbo.h" #include "st_public.h" #include "st_context.h" #include "st_cb_bufferobjects.h" @@ -68,6 +69,9 @@ struct st_context *st_create_context( GLcontext *ctx, st_init_atoms( st ); st_init_draw( st ); + /* we want all vertex data to be placed in buffer objects */ + vbo_use_buffer_objects(ctx); + /* Need these flags: */ st->ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; |