VirtualBox

Ignore:
Timestamp:
Jan 29, 2009 5:15:17 PM (16 years ago)
Author:
vboxsync
Message:

crOpenGL: temp hack/fix for linux

File:
1 edited

Legend:

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

    r15964 r16379  
    355355    if (parms.cbBuffer.u.value32)
    356356    {
    357         conn->pBuffer  = (uint8_t*) parms.pBuffer.u.Pointer.u.linearAddr;
     357        //conn->pBuffer  = (uint8_t*) parms.pBuffer.u.Pointer.u.linearAddr;
     358        conn->pBuffer  = conn->pHostBuffer;
    358359        conn->cbBuffer = parms.cbBuffer.u.value32;
    359360    }
     
    430431    if (parms.cbWriteback.u.value32)
    431432    {
    432         conn->pBuffer  = (uint8_t*) parms.pWriteback.u.Pointer.u.linearAddr;
     433        //conn->pBuffer  = (uint8_t*) parms.pWriteback.u.Pointer.u.linearAddr;
     434        conn->pBuffer  = conn->pHostBuffer;
    433435        conn->cbBuffer = parms.cbWriteback.u.value32;
    434436    }
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