diff options
author | Kenneth Graunke <[email protected]> | 2013-07-03 14:12:41 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-09 14:09:07 -0700 |
commit | 5d8186ac1a22afbaa6ed68e0fb67d1f150f798cb (patch) | |
tree | 61aed01729e56aec6387aae7b64dcb9cde673ad8 /src/mesa/drivers/dri/i965/brw_context.c | |
parent | eeb75b41f1d7be609861d3e98b64b6fffd13bb4f (diff) |
i965: Move intel_context::hw_ctx to brw_context.
Signed-off-by: Kenneth Graunke <[email protected]>
Acked-by: Chris Forbes <[email protected]>
Acked-by: Paul Berry <[email protected]>
Acked-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 0b3dc35b4ba..d170b24b76c 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -321,9 +321,9 @@ brwCreateContext(int api, * This is required for transform feedback buffer offsets, query objects, * and also allows us to reduce how much state we have to emit. */ - intel->hw_ctx = drm_intel_gem_context_create(brw->bufmgr); + brw->hw_ctx = drm_intel_gem_context_create(brw->bufmgr); - if (!intel->hw_ctx) { + if (!brw->hw_ctx) { fprintf(stderr, "Gen6+ requires Kernel 3.6 or later.\n"); ralloc_free(brw); return false; |