Fix for XV memory allocation: Also use tiled area for allocation even if it
hasn't been used before.
This commit is contained in:
parent
971755765d
commit
89d7027638
|
@ -1095,12 +1095,10 @@ localQueryLargestOffscreenLinear(
|
|||
|
||||
*size = 0;
|
||||
|
||||
if (!offman->LinearAreas) return FALSE;
|
||||
|
||||
pLink = offman->LinearAreas;
|
||||
pLinkRet = pLink;
|
||||
|
||||
if (!pLink->area) {
|
||||
if (pLink && !pLink->area) {
|
||||
pLinkRet = pLink;
|
||||
while (pLink) {
|
||||
if (pLink->free) {
|
||||
if (pLink->linear.size > pLinkRet->linear.size)
|
||||
|
|
Loading…
Reference in New Issue