Changeset 6960 for trunk/src


Ignore:
Timestamp:
Oct 7, 2001, 10:25:30 AM (24 years ago)
Author:
sandervl
Message:

don't use dive for 8bpp surfaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ddraw/OS2SURFACE.CPP

    r6950 r6960  
    1 /* $Id: OS2SURFACE.CPP,v 1.35 2001-10-05 12:33:09 sandervl Exp $ */
     1/* $Id: OS2SURFACE.CPP,v 1.36 2001-10-07 08:25:30 sandervl Exp $ */
    22
    33/*
     
    23872387
    23882388  if(dest->diveBufNr == DIVE_BUFFER_SCREEN &&
    2389      !(dwFlags & (DDBLT_COLORFILL|DDBLT_DEPTHFILL|DDBLT_ROP) ) )
     2389     !(dwFlags & (DDBLT_COLORFILL|DDBLT_DEPTHFILL|DDBLT_ROP) ) &&
     2390     dest->DDSurfaceDesc.ddpfPixelFormat.dwRGBBitCount > 8 &&
     2391     src->DDSurfaceDesc.ddpfPixelFormat.dwRGBBitCount > 8)
    23902392  {
    23912393      int rc, temp, fChanged = FALSE;
Note: See TracChangeset for help on using the changeset viewer.