The old MESA_PBUFFER_ALLOC() function allocated memory on 512-byte boundaries.
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 5 Jul 2005 14:13:42 +0000 (14:13 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 5 Jul 2005 14:13:42 +0000 (14:13 +0000)
commit4cf6718725c7cf3bfb728118a8b14f8cf206c701
treee6c1517b9be0d5db682fceb90f1f396423f5ac6a
parent78be0b5dadb3fb80e2283dbfa7f2ede146d80b41
The old MESA_PBUFFER_ALLOC() function allocated memory on 512-byte boundaries.
Restore that behavior with new _mesa_alloc_texmemory() function.
Should fix via_sse_memcpy() problem in found with flightgear.
src/mesa/main/teximage.c
src/mesa/main/teximage.h
src/mesa/main/texstore.c