From: Brian Date: Fri, 17 Aug 2007 14:27:18 +0000 (+0100) Subject: tell vbo module to use bufferobjs X-Git-Tag: 062012170305~17580^2~390^2~4256^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e6d1ab6fc85ff928c629627991a60f515b73857;p=profile%2Fivi%2Fmesa.git tell vbo module to use bufferobjs --- diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 35a262a..9e89ece 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;