diff options
author | Ian Romanick <[email protected]> | 2007-05-09 21:49:35 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2007-05-10 08:20:41 -0700 |
commit | e282f89a380bfbc8ad4840b535b499541635ca9f (patch) | |
tree | 68b4cd161b95a6116491acf31c71ee980a983f3d /src/mesa/main/depthstencil.c | |
parent | e2e4b60c7d9fc3618c0f9d7496c9ce3d5eee3ab5 (diff) |
Refactor queries of GL_(SOURCE|OPERAND)[012]_(ALPHA|RGB).
Most switch-statements that have cases for these enums already use code like:
const GLuint idx = pname - GL_SOURCE0_RGB;
... texUnit->Combine.SourceRGB[idx] ...
This patch just brings the remaining bits up to speed.
Diffstat (limited to 'src/mesa/main/depthstencil.c')
0 files changed, 0 insertions, 0 deletions