d3d8: Pass NOOVERWRITE to redundantly discarded maps.
commite49c19ebb5a5c4a74a52cad74a674112c42f8bdc
authorZebediah Figura <zfigura@codeweavers.com>
Fri, 10 Nov 2023 18:41:23 +0000 (10 12:41 -0600)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 16 Nov 2023 12:43:47 +0000 (16 13:43 +0100)
treefd5c088fcd899c0c635762fd3dfb6ff77eb3be61
parent00e1eaffd2b6ae810381ebd15ca7e4eb5a39b8df
d3d8: Pass NOOVERWRITE to redundantly discarded maps.

If DISCARD maps are accelerated, passing empty map flags won't return the same accelerated BO.

Tested with Port Royale 2 and Rayman 3.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55770
dlls/d3d8/buffer.c