DXGL r35 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r34‎ | r35 | r36 >
Date:02:46, 22 December 2011
Author:admin
Status:new
Tags:
Comment:
Set DDCAPS_CANBLTSYSMEM
Modified paths:
  • /ddraw/glDirectDraw.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirectDraw.cpp
@@ -775,7 +775,7 @@
776776 else if(lpDDHELCaps) ddCaps.dwSize = lpDDHELCaps->dwSize;
777777 else ERR(DDERR_INVALIDPARAMS);
778778 ddCaps.dwCaps = DDCAPS_BLT | DDCAPS_BLTCOLORFILL | DDCAPS_BLTSTRETCH |
779 - DDCAPS_GDI | DDCAPS_PALETTE;
 779+ DDCAPS_GDI | DDCAPS_PALETTE | DDCAPS_CANBLTSYSMEM;
780780 ddCaps.dwCaps2 = DDCAPS2_CANRENDERWINDOWED | DDCAPS2_WIDESURFACES | DDCAPS2_NOPAGELOCKREQUIRED;
781781 ddCaps.dwFXCaps = DDFXCAPS_BLTSHRINKX | DDFXCAPS_BLTSHRINKY |
782782 DDFXCAPS_BLTSTRETCHX | DDFXCAPS_BLTSTRETCHY;