Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
698 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // This file contains the ramp texel read routines.
  4. //
  5. // Copyright (C) Microsoft Corporation, 1997.
  6. //
  7. //-----------------------------------------------------------------------------
  8. include(`m4hdr.mh')dnl
  9. include(`rtexread.mh')dnl
  10. #include "pch.cpp"
  11. #pragma hdrstop
  12. dnl
  13. dnl d_RampTexReadFunc
  14. dnl
  15. define(`d_RampTexReadFunc', `
  16. D3DCOLOR Ramp_$1(INT32 iU, INT32 iV, INT32 iShiftU, PUINT8 pBits,
  17. PD3DI_SPANTEX pTex)
  18. {
  19. d_RampTexelRead($1, $2, $3, $4, $5)dnl
  20. return Color;
  21. }
  22. ')dnl
  23. dnl
  24. d_RampTexReadBeads(`d_RampTexReadFunc(XX, `iU', `iV', `pBits', `iShiftU')', `XX')dnl