diff options
author | Eric Anholt <[email protected]> | 2011-08-19 11:42:50 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-08-30 12:09:40 -0700 |
commit | 2f82c33deefba61b3e72edb4375850c0629af224 (patch) | |
tree | 959b0368755285bea9c6e2b085331dd0fa976452 /src/mesa/drivers/dri/i965/brw_context.c | |
parent | 1995d1e2070f8cda9e2ce489c694e0949749c8cb (diff) |
i965/vs: Move the flag for whether to use the new backend to the context.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 898ad8a83e8..6c2e3e4c770 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -248,6 +248,8 @@ GLboolean brwCreateContext( int api, brw_draw_init( brw ); + brw->new_vs_backend = (getenv("INTEL_NEW_VS") != NULL); + return GL_TRUE; } |