VirtualBox

Changeset 81219 in vbox


Ignore:
Timestamp:
Oct 10, 2019 5:59:14 PM (5 years ago)
Author:
vboxsync
Message:

Devices/Graphics: fixed the wrong translation of BlendOp in the OpenGL backend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp

    r81080 r81219  
    35003500        return GL_SRC_ALPHA_SATURATE;
    35013501    case SVGA3D_BLENDOP_BLENDFACTOR:
    3502         return GL_CONSTANT_ALPHA;       /** @todo correct?? */
     3502        return GL_CONSTANT_COLOR;
    35033503    case SVGA3D_BLENDOP_INVBLENDFACTOR:
    3504         return GL_ONE_MINUS_CONSTANT_ALPHA;       /** @todo correct?? */
     3504        return GL_ONE_MINUS_CONSTANT_COLOR;
    35053505    default:
    35063506        AssertFailed();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette