Rebase against 0170cd3a4c67bd99291234dd8e0d638a824d7715.

This commit is contained in:
Alistair Leslie-Hughes 2023-11-01 12:11:07 +11:00
parent 28a14dc978
commit 753c2c9012
2 changed files with 3 additions and 3 deletions

View File

@ -70,7 +70,7 @@ index 80556e96787..b3b63d7b361 100644
}
+ if (This->pick_record_size > 0)
+ heap_free(This->pick_records);
+ free(This->pick_records);
+
TRACE("Releasing render target %p.\n", This->rt_iface);
rt_iface = This->rt_iface;
@ -353,7 +353,7 @@ index 13e639eda3f..bb050fe16b8 100644
+ {
+ if (device->pick_record_size == 0) device->pick_record_size = 1;
+ device->pick_record_size *= 2;
+ device->pick_records = heap_realloc(device->pick_records,
+ device->pick_records = realloc(device->pick_records,
+ sizeof(*device->pick_records) * device->pick_record_size);
+ }
+

View File

@ -1 +1 @@
28210162472459d2afe57e638e2f50ee37f2b63f
0170cd3a4c67bd99291234dd8e0d638a824d7715