diff options
author | Ian Romanick <idr@us.ibm.com> | 2004-12-01 09:11:04 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2004-12-01 09:11:04 +0000 |
commit | 9bba1cfc39d35b847c479dcc1afef3d5d8fb0bfc (patch) | |
tree | ca7db6c3be5021627f3516de37906300ba65153d /src/glx/x11/eval.c | |
parent | b53df18624a1b3870c1dcfe3981c07c089efe262 (diff) |
Use indirect_size.c and indirect_size.h generated by using
src/mesa/glapi/glX_proto_send.py with the '-m size_c' and '-m size_h'
options.
Diffstat (limited to 'src/glx/x11/eval.c')
-rw-r--r-- | src/glx/x11/eval.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/glx/x11/eval.c b/src/glx/x11/eval.c index aba4b5767c..0f94e6da6f 100644 --- a/src/glx/x11/eval.c +++ b/src/glx/x11/eval.c @@ -130,33 +130,3 @@ void __glFillMap2d(GLint k, GLint majorOrder, GLint minorOrder, points += majorStride - minorStride * minorOrder; } } - -GLint __glEvalComputeK(GLenum target) -{ - switch(target) { - case GL_MAP1_VERTEX_4: - case GL_MAP1_COLOR_4: - case GL_MAP1_TEXTURE_COORD_4: - case GL_MAP2_VERTEX_4: - case GL_MAP2_COLOR_4: - case GL_MAP2_TEXTURE_COORD_4: - return 4; - case GL_MAP1_VERTEX_3: - case GL_MAP1_TEXTURE_COORD_3: - case GL_MAP1_NORMAL: - case GL_MAP2_VERTEX_3: - case GL_MAP2_TEXTURE_COORD_3: - case GL_MAP2_NORMAL: - return 3; - case GL_MAP1_TEXTURE_COORD_2: - case GL_MAP2_TEXTURE_COORD_2: - return 2; - case GL_MAP1_TEXTURE_COORD_1: - case GL_MAP2_TEXTURE_COORD_1: - case GL_MAP1_INDEX: - case GL_MAP2_INDEX: - return 1; - default: - return 0; - } -} |