mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 05:40:13 +01:00
tell vbo module to use bufferobjs
This commit is contained in:
parent
305b83a415
commit
1e6d1ab6fc
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue