diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2014-02-26 12:48:56 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2014-02-28 15:05:39 -0800 |
commit | ff2cbf9e0ca0ee46a15add1a42cd48705c84e0de (patch) | |
tree | 74d47cbb4b95a6c15d7b29957f8aa886e4717517 /include | |
parent | 8ba157006fe98bca96b79bea1394b0c33ddf4ad3 (diff) | |
download | external_mesa3d-ff2cbf9e0ca0ee46a15add1a42cd48705c84e0de.zip external_mesa3d-ff2cbf9e0ca0ee46a15add1a42cd48705c84e0de.tar.gz external_mesa3d-ff2cbf9e0ca0ee46a15add1a42cd48705c84e0de.tar.bz2 |
i915: Allocate the sys_buffer using _mesa_align_malloc
Though it won't matter on Linux, use _mesa_align_free to release it.
Since i965 doesn't have sys_buffer, I overlooked this in the
GL_ARB_map_buffer_alignment work a few months ago. Fixes i915 (and
presumably i830) regressions in ARB_map_buffer_range tests and the
failure in arb_map_buffer_alignment-sanity_test.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74960
Cc: "10.1" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions