diff options
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r-- | src/mesa/drivers/dri/i915/i830_context.c | 8 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i915/i915_context.c | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i915/i830_context.c b/src/mesa/drivers/dri/i915/i830_context.c index 3da07455776..e822660c635 100644 --- a/src/mesa/drivers/dri/i915/i830_context.c +++ b/src/mesa/drivers/dri/i915/i830_context.c @@ -26,7 +26,10 @@ **************************************************************************/ #include "i830_context.h" +#include "main/api_exec.h" #include "main/imports.h" +#include "main/version.h" +#include "main/vtxfmt.h" #include "tnl/tnl.h" #include "tnl/t_vertex.h" #include "tnl/t_context.h" @@ -111,5 +114,10 @@ i830CreateContext(const struct gl_config * mesaVis, _tnl_allow_vertex_fog(ctx, 1); _tnl_allow_pixel_fog(ctx, 0); + _mesa_compute_version(ctx); + + _mesa_initialize_exec_table(ctx); + _mesa_initialize_vbo_vtxfmt(ctx); + return true; } diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c index d47e20f8608..a6b8e4627e5 100644 --- a/src/mesa/drivers/dri/i915/i915_context.c +++ b/src/mesa/drivers/dri/i915/i915_context.c @@ -26,8 +26,11 @@ **************************************************************************/ #include "i915_context.h" +#include "main/api_exec.h" #include "main/imports.h" #include "main/macros.h" +#include "main/version.h" +#include "main/vtxfmt.h" #include "intel_tris.h" #include "tnl/t_context.h" #include "tnl/t_pipeline.h" @@ -295,5 +298,10 @@ i915CreateContext(int api, _tnl_allow_vertex_fog(ctx, 0); _tnl_allow_pixel_fog(ctx, 1); + _mesa_compute_version(ctx); + + _mesa_initialize_exec_table(ctx); + _mesa_initialize_vbo_vtxfmt(ctx); + return true; } |