VirtualBox

Ignore:
Timestamp:
Jun 18, 2009 2:12:43 PM (16 years ago)
Author:
vboxsync
Message:

video hw accel: DdLock fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/dd.c

    r20683 r20692  
    10441044        }
    10451045
    1046         if(VBOXDD_CHECKFLAG(lpLock->dwFlags, DDLOCK_SURFACEMEMORYPTR))
    1047         {
    1048             lpLock->lpSurfData = (LPVOID)(lpSurfaceGlobal->fpVidMem + lpSurfaceGlobal->lPitch * lpLock->rArea.top
    1049                 + lpLock->rArea.left * pDesc->cBitsPerPixel/8);
    1050         }
     1046//        if(VBOXDD_CHECKFLAG(lpLock->dwFlags, DDLOCK_SURFACEMEMORYPTR))
     1047//        {
     1048//            lpLock->lpSurfData = (LPVOID)(lpSurfaceGlobal->fpVidMem + lpSurfaceGlobal->lPitch * lpLock->rArea.top
     1049//                + lpLock->rArea.left * pDesc->cBitsPerPixel/8);
     1050//        }
    10511051
    10521052        pCmd = vboxVHWACommandCreate (pDev, VBOXVHWACMD_TYPE_SURF_LOCK, sizeof(VBOXVHWACMD_SURF_LOCK));
     
    10901090            lpLock->ddRVal = DDERR_GENERIC;
    10911091        }
    1092         return DDHAL_DRIVER_HANDLED;
     1092        return DDHAL_DRIVER_NOTHANDLED;
    10931093    }
    10941094#endif
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