wined3d: check for ARB_fragment_program in arbfp_blit_supported

Stefan Dösinger stefandoesinger at gmx.at
Sat Mar 26 04:18:44 CDT 2011


> <0001-wined3d-check-for-ARB_fragment_program-in-arbfp_blit.patch>
Considering this statement in select_blit_implementation, directx.c:

    if ((ps_selected_mode == SHADER_ARB || ps_selected_mode == SHADER_GLSL)
            && gl_info->supported[ARB_FRAGMENT_PROGRAM]) return &arbfp_blit;
    else return &ffp_blit;

How does wined3d end up using arbfp_blit?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20110326/29664cf5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 841 bytes
Desc: Signierter Teil der Nachricht
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20110326/29664cf5/attachment.pgp>


More information about the wine-devel mailing list