VirtualBox

Changeset 55213 in vbox


Ignore:
Timestamp:
Apr 13, 2015 3:52:44 PM (10 years ago)
Author:
vboxsync
Message:

Host 3D: fix SEGFAULT on old X11 i915 driver on 3D state restore: use DEPTH_STENCIL attachment only in case if both DEPTH and STENCIL were specified.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r55212 r55213  
    13631363    }
    13641364
     1365    /* Use GL_DEPTH_STENCIL only in case if both CR_STENCIL_BIT and CR_DEPTH_BIT specified. */
    13651366    if (   (pCtxInfo->CreateInfo.requestedVisualBits & CR_STENCIL_BIT)
    1366         || (pCtxInfo->CreateInfo.requestedVisualBits & CR_DEPTH_BIT))
     1367        && (pCtxInfo->CreateInfo.requestedVisualBits & CR_DEPTH_BIT))
    13671368    {
    13681369        pEl = &pData->aElements[pData->cElements];
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