added note about _TriangleCaps

This commit is contained in:
Brian Paul 2003-09-18 23:42:08 +00:00
parent 98cdf71f5a
commit effa9af9b1

View file

@ -161,6 +161,13 @@ New ctx->Texture._EnabledCoordUnits field:
If a bit is set in the ctx->Texture._EnabledUnits bitmask is set, the
same bit MUST be set in ctx->Texture._EnabledCoordUnits.
The ctx->_TriangleCaps field is deprecated.
Instead of testing the DD_* bits in _TriangleCaps, you should instead
directly test the relevant state variables, or use one of the helper
functions like NEED_SECONDARY_COLOR() at the bottom of context.h
While testing _TriangleCaps bits was fast, it was kludgey, and setting
the bits in the first place could be error prone.
To Do