Ignore:
Timestamp:
Sep 12, 1999, 11:37:37 PM (26 years ago)
Author:
hugh
Message:

Changess in basic implementation of the IDrectDraw class
MS does assume 2 Vtables at the end and MS tools seam to use internal
knownledge of the implmentation. DDCAPS is one butn thsi does work/start now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/OS2DDRAW.H

    r587 r913  
    1919    //this one has to go first!
    2020    IDirectDraw4Vtbl *lpVtbl;
     21    IDirectDraw4Vtbl *lpVtbl2;         // 2nd Vtable pointer An other MS assumtion see below
     22    DWORD            *pdwUnknownData;  // MS DDCAPS (DX6 SDK bin\tools )program makes an assumtion that after the
     23                                       // VTable comes a pointer to some data
     24                                       // to avoid crashes we do it a favor and alloc a buffer
     25                                       // with 255 DWORDS
     26                                       // Known data in the buffer Height(offset 235),
     27                                       // Height (236),  Bits (241)
     28                                       // ToDO :
     29                                       // debug into DirectDrawCreate and se what MS is doing !
    2130    IDirectDraw2Vtbl  Vtbl;
    2231    // MS did it again with direct/X 6 they changed the behavior of the directdraw component
Note: See TracChangeset for help on using the changeset viewer.