[PATCH 3/4] Rename blit_shader color_fixup_supported to blit_supported.

Henri Verbeet hverbeet at gmail.com
Thu Apr 1 06:46:24 CDT 2010


On 1 April 2010 12:50, Roderick Colenbrander <thunderbird2k at 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.



More information about the wine-devel mailing list