Skip to content
Snippets Groups Projects
Commit ff2cbf9e authored by Ian Romanick's avatar Ian Romanick
Browse files

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: default avatarIan 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: default avatarMatt Turner <mattst88@gmail.com>
parent 8ba15700
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment