From: Brian Paul Date: Thu, 18 Sep 2003 23:42:08 +0000 (+0000) Subject: added note about _TriangleCaps X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=effa9af9b15906f0e2a8d27f9e7af459cf3ee0c4;p=mesa.git added note about _TriangleCaps --- diff --git a/docs/RELNOTES-5.1 b/docs/RELNOTES-5.1 index f002cb0689d..5029b8626cf 100644 --- a/docs/RELNOTES-5.1 +++ b/docs/RELNOTES-5.1 @@ -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