projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
305b83a
)
tell vbo module to use bufferobjs
author
Brian
<brian.paul@tungstengraphics.com>
Fri, 17 Aug 2007 14:27:18 +0000
(15:27 +0100)
committer
Brian
<brian.paul@tungstengraphics.com>
Fri, 17 Aug 2007 14:27:18 +0000
(15:27 +0100)
src/mesa/state_tracker/st_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_context.c
b/src/mesa/state_tracker/st_context.c
index 35a262ab5b54d81bcc0dc4445f05f0494b32e7ce..9e89ece52e1a4a43e1c54c3dd77472c65e2ad97c 100644
(file)
--- 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;