DXGL r920 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r919
|
r920
|
r921
>
Date:
15:36, 10 May 2019
Author:
admin
Status:
new
Tags:
Comment:
Temporarily remove advertising overlay support.
Modified paths:
/ddraw/glDirectDraw.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirectDraw.cpp
—
—
@@ -1470,9 +1470,9 @@
1471
1471
if(ddCaps.dwSize > sizeof(DDCAPS_DX7)) ddCaps.dwSize = sizeof(DDCAPS_DX7);
1472
1472
if (ddCaps.dwSize < sizeof(DDCAPS_DX3)) TRACE_RET(HRESULT, 23, DDERR_INVALIDPARAMS);
1473
1473
ddCaps.dwCaps = DDCAPS_BLT | DDCAPS_BLTCOLORFILL | DDCAPS_BLTDEPTHFILL | DDCAPS_BLTFOURCC |
1474
- DDCAPS_BLTSTRETCH | DDCAPS_COLORKEY | DDCAPS_GDI | DDCAPS_PALETTE | DDCAPS_CANBLTSYSMEM |
1475
- DDCAPS_3D | DDCAPS_CANCLIP | DDCAPS_CANCLIPSTRETCHED | DDCAPS_READSCANLINE |
1476
- DDCAPS_OVERLAY | DDCAPS_OVERLAYSTRETCH;
1474
+ DDCAPS_BLTSTRETCH | DDCAPS_COLORKEY | DDCAPS_GDI | DDCAPS_PALETTE | DDCAPS_CANBLTSYSMEM |
1475
+ DDCAPS_3D | DDCAPS_CANCLIP | DDCAPS_CANCLIPSTRETCHED | DDCAPS_READSCANLINE;/* |
1476
+ DDCAPS_OVERLAY | DDCAPS_OVERLAYSTRETCH;*/
1477
1477
ddCaps.dwCaps2 = DDCAPS2_CANRENDERWINDOWED | DDCAPS2_WIDESURFACES | DDCAPS2_NOPAGELOCKREQUIRED |
1478
1478
DDCAPS2_FLIPINTERVAL | DDCAPS2_FLIPNOVSYNC | DDCAPS2_NONLOCALVIDMEM;
1479
1479
ddCaps.dwFXCaps = DDFXCAPS_BLTSHRINKX | DDFXCAPS_BLTSHRINKY |
—
—
@@ -1485,10 +1485,10 @@
1486
1486
DDSCAPS_FRONTBUFFER | DDSCAPS_OFFSCREENPLAIN | DDSCAPS_PALETTE |
1487
1487
DDSCAPS_SYSTEMMEMORY | DDSCAPS_VIDEOMEMORY | DDSCAPS_3DDEVICE |
1488
1488
DDSCAPS_NONLOCALVIDMEM | DDSCAPS_LOCALVIDMEM | DDSCAPS_TEXTURE |
1489
- DDSCAPS_MIPMAP | DDSCAPS_OVERLAY;
1489
+ DDSCAPS_MIPMAP;// | DDSCAPS_OVERLAY;
1490
1490
ddCaps.ddsCaps.dwCaps2 = DDSCAPS2_MIPMAPSUBLEVEL;
1491
- ddCaps.dwMinOverlayStretch = 1;
1492
- ddCaps.dwMaxOverlayStretch = 2147483647;
1491
+ //ddCaps.dwMinOverlayStretch = 1;
1492
+ //ddCaps.dwMaxOverlayStretch = 2147483647;
1493
1493
ddCaps.dwCKeyCaps = DDCKEYCAPS_SRCBLT | DDCKEYCAPS_DESTBLT;
1494
1494
ddCaps.dwZBufferBitDepths = DDBD_16 | DDBD_24 | DDBD_32;
1495
1495
ddCaps.dwNumFourCCCodes = GetNumFOURCC();
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version