VirtualBox

Changeset 84914 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jun 23, 2020 10:19:17 AM (4 years ago)
Author:
vboxsync
Message:

Devices/Graphics: updated assertion in OpenGL backend

File:
1 edited

Legend:

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

    r84888 r84914  
    45184518                break;
    45194519            }
    4520             /* @note only front and back faces */
    4521             Assert(mode.s.face == SVGA3D_FACE_FRONT_BACK);
     4520            /* Only front and back faces. Also recent Mesa guest drivers initialize the 'face' to zero. */
     4521            ASSERT_GUEST(mode.s.face == SVGA3D_FACE_FRONT_BACK || mode.s.face == SVGA3D_FACE_INVALID);
    45224522            glPolygonMode(GL_FRONT_AND_BACK, val);
    45234523            VMSVGA3D_CHECK_LAST_ERROR(pState, pContext);
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