summaryrefslogtreecommitdiff
path: root/src/mesa/main/attrib.c
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2007-05-09 21:49:35 -0700
committerIan Romanick <idr@us.ibm.com>2007-05-10 08:20:41 -0700
commite282f89a380bfbc8ad4840b535b499541635ca9f (patch)
tree68b4cd161b95a6116491acf31c71ee980a983f3d /src/mesa/main/attrib.c
parente2e4b60c7d9fc3618c0f9d7496c9ce3d5eee3ab5 (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/attrib.c')
0 files changed, 0 insertions, 0 deletions