//----------------------------------------------------------------------------- // // This file contains the ramp texel read routines. // // Copyright (C) Microsoft Corporation, 1997. // //----------------------------------------------------------------------------- include(`m4hdr.mh')dnl include(`rtexread.mh')dnl #include "pch.cpp" #pragma hdrstop dnl dnl d_RampTexReadFunc dnl define(`d_RampTexReadFunc', ` D3DCOLOR Ramp_$1(INT32 iU, INT32 iV, INT32 iShiftU, PUINT8 pBits, PD3DI_SPANTEX pTex) { d_RampTexelRead($1, $2, $3, $4, $5)dnl return Color; } ')dnl dnl d_RampTexReadBeads(`d_RampTexReadFunc(XX, `iU', `iV', `pBits', `iShiftU')', `XX')dnl