diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_cfg.cpp | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_cfg.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cfg.cpp b/src/mesa/drivers/dri/i965/brw_cfg.cpp index 02ae37e13ca..33097ebff4f 100644 --- a/src/mesa/drivers/dri/i965/brw_cfg.cpp +++ b/src/mesa/drivers/dri/i965/brw_cfg.cpp @@ -82,6 +82,7 @@ cfg_t::create(void *parent_mem_ctx, exec_list *instructions) { mem_ctx = ralloc_context(parent_mem_ctx); block_list.make_empty(); + blocks = NULL; num_blocks = 0; ip = 0; cur = NULL; diff --git a/src/mesa/drivers/dri/i965/brw_cfg.h b/src/mesa/drivers/dri/i965/brw_cfg.h index 505a5cfdf60..ec5a3a02059 100644 --- a/src/mesa/drivers/dri/i965/brw_cfg.h +++ b/src/mesa/drivers/dri/i965/brw_cfg.h @@ -60,7 +60,7 @@ public: class cfg_t { public: - DECLARE_RZALLOC_CXX_OPERATORS(cfg_t) + DECLARE_RALLOC_CXX_OPERATORS(cfg_t) cfg_t(backend_visitor *v); cfg_t(void *mem_ctx, exec_list *instructions); |