Re: [PATCH 3/4] Rename blit_shader color_fixup_supported to blit_supported.
April 1, 2010
6:46 a.m.
On 1 April 2010 12:50, Roderick Colenbrander <thunderbird2k(a)gmail.com> wrote:
--- dlls/wined3d/arb_program_shader.c | 20 +++++++++++----- dlls/wined3d/directx.c | 2 +- dlls/wined3d/surface.c | 46 +++++++++++++++++++++++++----------- dlls/wined3d/wined3d_private.h | 9 ++++++- 4 files changed, 55 insertions(+), 22 deletions(-)
This does quite a bit more than just renaming things. More importantly, these implementations will now claim that blits with destination fixups are supported, while they aren't. You should pass an appropriate pool (i.e., WINED3DPOOL_DEFAULT) in CheckSurfaceCapability(), and I don't think passing NULL for the destination format makes a lot of sense for blits.
5883
Age (days ago)
5883
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet