Commit 89d70276 authored by Egbert Eich's avatar Egbert Eich
Browse files

Fix for XV memory allocation: Also use tiled area for allocation even if it

    hasn't been used before.
parent 97175576
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment