D3D9: Fix texel to pixel mapping when sampling textures properly.

This commit is contained in:
NeoBrainX
2012-03-24 16:30:00 +01:00
parent fee98b426b
commit 7a1744575d
5 changed files with 16 additions and 3 deletions

View File

@ -35,7 +35,7 @@
#define I_TRANSFORMMATRICES "ctrmtx"
#define I_NORMALMATRICES "cnmtx"
#define I_POSTTRANSFORMMATRICES "cpostmtx"
#define I_DEPTHPARAMS "cDepth"
#define I_DEPTHPARAMS "cDepth" // farZ, zRange, scaled viewport width, scaled viewport height
#define C_POSNORMALMATRIX 0
#define C_PROJECTION (C_POSNORMALMATRIX + 6)