diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2013-09-18 14:11:32 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2013-09-21 09:17:21 -0700 |
commit | 4f1ebb8ddd0294698601a8c4fc38f1e39bfd51f6 (patch) | |
tree | de988eab944ebac1525f233ff33814d9f6e9fbda /src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | |
parent | 81a3759bb51a1a12ba1c6c6ad586c5ff5f31c411 (diff) | |
download | external_mesa3d-4f1ebb8ddd0294698601a8c4fc38f1e39bfd51f6.zip external_mesa3d-4f1ebb8ddd0294698601a8c4fc38f1e39bfd51f6.tar.gz external_mesa3d-4f1ebb8ddd0294698601a8c4fc38f1e39bfd51f6.tar.bz2 |
i965, mesa: Use the new DECLARE_R[Z]ALLOC_CXX_OPERATORS macros.
These classes declared a placement new operator, but didn't declare a
delete operator. Switching to the macro gives them a delete operator,
which probably is a good idea anyway.
This also eliminates a lot of boilerplate.
v2: Properly use RZALLOC in Mesa IR/TGSI translators. Caught by Eric
and Chad.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen7_wm_surface_state.c')
0 files changed, 0 insertions, 0 deletions