diff options
author | Paul Berry <[email protected]> | 2011-09-13 12:07:15 -0700 |
---|---|---|
committer | Paul Berry <[email protected]> | 2011-09-23 13:30:08 -0700 |
commit | 2d686fe911a89fa477ee3848da41ebfb100500bf (patch) | |
tree | ab919d8eb9565d091b0b6777c153119f95b205a4 /src/mesa/main/teximage.c | |
parent | 3d7c5a4f6f4155e249f6eac76d861eb1bc59eb69 (diff) |
mesa: Decode GL_CLIP_DISTANCE[67] properly in _mesa_set_enable().
In order to support 8 clip distances, we need to properly decode when
the user sets the GL_CLIP_DISTANCE6 and GL_CLIP_DISTANCE7 enable
flags.
For clarity, this patch changes the names GL_CLIP_PLANE[0-5] in the
switch statement to the equivalent names GL_CLIP_DISTANCE[0-5], since
the GL_CLIP_PLANE names are deprecated.
Reviewed-by: Eric Anholt <[email protected]>
Tested-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
0 files changed, 0 insertions, 0 deletions