diff options
author | Brian <[email protected]> | 2007-08-20 10:23:28 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-20 10:23:28 -0600 |
commit | df1df82f1660996d09fa272e6129c194afde3ece (patch) | |
tree | a28e21bb697f637707ca95cdf20e09a8d3a94b9a /src/mesa/state_tracker/st_context.c | |
parent | 8339ca7d1e9a3fe90f46e6e81f7ec8574d121072 (diff) | |
parent | 14327705fd53e984b74f8e9adb053df03fba7aff (diff) |
Merge branch 'softpipe_0_1_branch' of git+ssh://[email protected]/git/mesa/mesa into softpipe_0_1_branch
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-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 35a262ab5b5..9e89ece52e1 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; |