VirtualBox

Ignore:
Timestamp:
Nov 2, 2010 12:17:19 PM (14 years ago)
Author:
vboxsync
Message:

wddm/3d: fix hgcm fallback (for insufficient hgsmi resources)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c

    r33595 r33684  
    5050#endif
    5151
     52#ifdef DEBUG_misha
     53#ifdef CRASSERT
     54# undef CRASSERT
     55#endif
     56#define CRASSERT Assert
     57#endif
    5258//#define IN_GUEST
    5359//#if defined(IN_GUEST)
     
    13781384        if (RT_SUCCESS(rc))
    13791385        {
    1380             rc = pHgsmi->pfnBufferCreate(pHgsmi, CRVBOXHGSMI_PAGE_ALIGN(0x800000),
     1386            rc = pHgsmi->pfnBufferCreate(pHgsmi, CRVBOXHGSMI_PAGE_ALIGN(1),
    13811387                                            VBOXUHGSMI_SYNCHOBJECT_TYPE_EVENT,
    13821388                                            NULL,
     
    13891395                return (HVBOXCRHGSMI_CLIENT) pClient;
    13901396            }
     1397            pClient->pCmdBuffer->pfnDestroy(pClient->pCmdBuffer);
    13911398        }
    13921399    }
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