DXGL r307 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r306‎ | r307 | r308 >
Date:15:23, 13 January 2013
Author:admin
Status:new
Tags:
Comment:
Advertise W-based pixel fog.
Modified paths:
  • /ddraw/glDirect3D.cpp (modified) (history)

Diff [purge]

Index: ddraw/glDirect3D.cpp
@@ -36,7 +36,7 @@
3737 sizeof(D3DPRIMCAPS),
3838 D3DPMISCCAPS_CULLCCW | D3DPMISCCAPS_CULLCW | D3DPMISCCAPS_CULLNONE, // dwMiscCaps
3939 D3DPRASTERCAPS_SUBPIXEL | D3DPRASTERCAPS_ZTEST | D3DPRASTERCAPS_FOGRANGE | D3DPRASTERCAPS_FOGTABLE |
40 - D3DPRASTERCAPS_FOGVERTEX, //dwRasterCaps
 40+ D3DPRASTERCAPS_FOGVERTEX | D3DPRASTERCAPS_WFOG, //dwRasterCaps
4141 D3DPCMPCAPS_LESSEQUAL, //dwZCmpCaps
4242 D3DPBLENDCAPS_ZERO | D3DPBLENDCAPS_ONE | D3DPBLENDCAPS_SRCCOLOR | D3DPBLENDCAPS_INVSRCCOLOR |
4343 D3DPBLENDCAPS_SRCALPHA | D3DPBLENDCAPS_INVSRCALPHA | D3DPBLENDCAPS_DESTALPHA |
@@ -65,7 +65,7 @@
6666 sizeof(D3DPRIMCAPS),
6767 D3DPMISCCAPS_CULLCCW | D3DPMISCCAPS_CULLCW | D3DPMISCCAPS_CULLNONE, // dwMiscCaps
6868 D3DPRASTERCAPS_SUBPIXEL | D3DPRASTERCAPS_ZTEST | D3DPRASTERCAPS_FOGRANGE | D3DPRASTERCAPS_FOGTABLE |
69 - D3DPRASTERCAPS_FOGVERTEX, //dwRasterCaps
 69+ D3DPRASTERCAPS_FOGVERTEX | D3DPRASTERCAPS_WFOG, //dwRasterCaps
7070 D3DPCMPCAPS_LESSEQUAL, //dwZCmpCaps
7171 D3DPBLENDCAPS_ZERO | D3DPBLENDCAPS_ONE | D3DPBLENDCAPS_SRCCOLOR | D3DPBLENDCAPS_INVSRCCOLOR |
7272 D3DPBLENDCAPS_SRCALPHA | D3DPBLENDCAPS_INVSRCALPHA | D3DPBLENDCAPS_DESTALPHA |