From effa9af9b15906f0e2a8d27f9e7af459cf3ee0c4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 18 Sep 2003 23:42:08 +0000 Subject: added note about _TriangleCaps --- docs/RELNOTES-5.1 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'docs/RELNOTES-5.1') 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 -- cgit v1.2.3