mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
added note about _TriangleCaps
This commit is contained in:
parent
98cdf71f5a
commit
effa9af9b1
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue